Skip to content

Commit edc3055

Browse files
committed
Use even smaller numbers for tests
1 parent dbd612a commit edc3055

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

examples/stdlib/stream/fastexp.check

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,15 @@
3838
0 ^ 0
3939
1
4040
1
41-
7 ^ 21
42-
558545864083284030
43-
558545864083284030
44-
21 ^ 7
45-
1801088541
46-
1801088541
41+
200 ^ 2
42+
40000
43+
40000
44+
128 ^ 4
45+
268435456
46+
268435456
47+
7 ^ 13
48+
96889010407
49+
96889010407
50+
13 ^ 7
51+
62748517
52+
62748517

examples/stdlib/stream/fastexp.effekt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ def main() = {
7474
testExp(0, 1)
7575
testExp(1, 0)
7676
testExp(0, 0)
77-
testExp(7, 21)
78-
testExp(21, 7)
77+
testExp(200, 2)
78+
testExp(128, 4)
79+
testExp(7, 13)
80+
testExp(13, 7)
7981
}

0 commit comments

Comments
 (0)