mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 13:33:22 +00:00
real test now
This commit is contained in:
@@ -4,4 +4,5 @@ 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)
|
||||
var dummy = 0.0
|
||||
check hash(dummy) == hash(-dummy)
|
||||
|
||||
Reference in New Issue
Block a user