Files
Nim/tests/run/thashes.nim
Simon Hafner 664bd55e85 real test now
2012-09-08 15:54:00 -05:00

9 lines
185 B
Nim

import unittest
import hashes
suite "hashes":
suite "hashing":
test "0.0 and -0.0 should have the same hash value":
var dummy = 0.0
check hash(dummy) == hash(-dummy)