Skip to content

Commit 6b721f3

Browse files
committed
extend test cases
1 parent 24263b9 commit 6b721f3

2 files changed

Lines changed: 45 additions & 11 deletions

File tree

tests/operations/dif.csv

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,40 @@ Op1,Op2,Result
22
0,0,0
33
0,3,0
44
0,-3,0
5-
2,0,2
6-
-2,0,-2
5+
1,-1,-1
76
1,1,1
87
1,3,1
98
1,-3,1
109
2,1,2
10+
2,2,1
11+
2,3,2
12+
2,0,2
13+
-2,0,-2
1114
-2,1,-2
1215
3,2,3
16+
3,3,1
17+
3,4,3
18+
4,1,4
1319
4,2,2
14-
2,3,2
15-
-6,3,-2
20+
4,3,4
21+
4,4,1
1622
6,-3,-2
23+
-6,3,-2
1724
-6,-3,2
1825
7,3,7
26+
8,3,8
27+
8,2,4
28+
8,4,2
29+
8,8,1
30+
9,2,9
31+
9,3,3
32+
9,4,9
33+
9,9,1
34+
10,1,10
35+
10,2,5
36+
10,3,10
37+
16,1,16
38+
16,2,8
39+
16,4,4
40+
16,8,2
41+
16,16,1

tests/operations/pow.csv

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,32 @@
11
Op1,Op2,Result
2+
-6,-3,0
3+
-6,2,36
4+
-6,3,-216
5+
-2,-2,0
6+
-2,-1,0
7+
-2,0,1
8+
-2,1,-2
9+
-2,2,4
10+
-2,3,-8
11+
-1,-3,-1
12+
-1,-2,1
13+
-1,-1,-1
14+
-1,0,1
15+
-1,1,-1
16+
-1,2,1
17+
-1,3,-1
18+
0,-3,inf
219
0,0,1
320
0,3,0
4-
0,-3,inf
521
2,0,1
6-
-2,0,1
22+
1,-3,1
723
1,1,1
824
1,3,1
9-
1,-3,1
1025
2,1,2
11-
-2,1,-2
1226
3,2,9
1327
4,3,64
1428
2,3,8
15-
-6,2,36
16-
-6,3,-216
1729
6,-3,0
18-
-6,-3,0
1930
2,64,18446744073709551616
2031
2,127,170141183460469231731687303715884105728
2132
2,128,340282366920938463463374607431768211456

0 commit comments

Comments
 (0)