diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/run/thashes.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run/thashes.nim b/tests/run/thashes.nim new file mode 100644 index 000000000..2b418c4cd --- /dev/null +++ b/tests/run/thashes.nim @@ -0,0 +1,7 @@ +import unittest +import hashes + +suite "hashes": + suite "hashing": + test "0.0 and -0.0 should have the same hash value": + check hash(0.0) == hash(-0.0) \ No newline at end of file |