view src/testdir/test_increment.ok @ 7530:5d1b5fd708c6 v7.4.1066

commit https://github.com/vim/vim/commit/64496ffc9cfb0eb6f2074f22809de2b420b5f300 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 9 15:08:03 2016 +0100 patch 7.4.1066 Problem: Build fails on MS-Windows. Solution: Adjust the #ifdefs for "dll" options.
author Christian Brabandt <cb@256bit.org>
date Sat, 09 Jan 2016 15:15:03 +0100
parents b3eb1dfbc1fa
children
line wrap: on
line source

# Test 1
S1======
foobar-10
E1======

foobar-9
foobar-9
foobar-11
foobar-11
foobar-9


# Test 2
S2=====
10
20
30
40
E2=====

11
21
31
41

9
19
29
39

# Test 3
S3=====
10

20

30

40
E3=====

12

24

36

48

8

16

24

32

# Test 4
S4=====
foobar-10
E4=====

foobar-10


# Test 5
S5====
a
a
a
a
E5====

b
c
d
e

# Test 6
S6====
z
z
z
z
E6====

y
x
w
v


# Test 7
S7====
2
1
0
-1
-2
E7====

3
2
1
0
-1

1
0
-1
-2
-3

# Test 8
S8====
0x9
0x9
E8====

0xa
0xa

0xa
0xa


# Test 9
S9====
2
2

3
3

E9====

4
4

5
5




# Test 10
S10====
1
1
1
1
E10====

0
-1
-2
-3



# Test 11
S11====
    1
1
    1
    1
E11====

    2
1
    3
    4


# Test 12
S12====
0 0
0 0
0 0
E12====

0 1
1 0
1 0


# Test 13
S13====
max: 100px
max: 200px
max: 300px
max: 400px
E13====

max: 110px
max: 210px
max: 310px
max: 400px

max: 90px
max: 190px
max: 290px
max: 400px

# Test 14
S14====
1 1
1 1
E14====

2 2
2 2


# Test 15
S15====
101
E15====

111


# Test 16
S16====
   1
  19
 119
E16====

   2
  20
 120


# Test 17
S17====
 100
 1

 100
 1
E17====

 101
 2

 101
 1

# Test 18
S18====
0
0
0
0
E18====

3
6
9
12


# Test 19
S19====
1
1a
E19====

2
2a


# Test 20
S20====
a
E20====

b
1


# Test 21
S21====
0x123456
E21====

0x124456


# Test 22
S22====
0b1
0b1
E22====

0b10
0b10

0b10
0b10


# Test 23
S23====
0b1001
E23====

0b1011



# Test 24
S24====
0x0b1001
E24====

0x0b1002



# Test 25
S25====
0b1001a
E25====

0b1010a



# Test 26
S26====
0b11111111111111111111111111111110
E26====

0b11111111111111111111111111111111


ENDTEST