Add a test case for that
This commit is contained in:
parent
7ae6968b5c
commit
0f3fe14aa3
9
test/testNumericInverse.krk
Normal file
9
test/testNumericInverse.krk
Normal file
@ -0,0 +1,9 @@
|
||||
# I have no idea how this broke.
|
||||
|
||||
|
||||
let a = 925932958390268329583925832891583215321
|
||||
let b = -a
|
||||
|
||||
assert a + b == 0
|
||||
assert b + a == 0
|
||||
assert a - b == a * 2
|
0
test/testNumericInverse.krk.expect
Normal file
0
test/testNumericInverse.krk.expect
Normal file
Loading…
Reference in New Issue
Block a user