Skip to content

Commit 3c72a65

Browse files
committed
Check if bigints work
1 parent 21b00ec commit 3c72a65

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/tests/Main/ArithmeticTests.fs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,3 +210,9 @@ let ``System.Random works``() =
210210
let rnd = System.Random()
211211
let x = rnd.Next(5)
212212
Assert.AreEqual(true, x >= 0 && x < 5)
213+
214+
[<Test>]
215+
let ``bigint equality works``() =
216+
let a = 9007199254740992I
217+
let b = 9007199254740993I
218+
Assert.AreNotEqual(a, b)

0 commit comments

Comments
 (0)