summary refs log tree commit diff stats
path: root/tests/ccgbugs/tstringslice.nim
Commit message (Expand)AuthorAgeFilesLines
* fixes #794 properlyAraq2015-03-121-3/+12
* fixed the tester; more tests greenAraq2015-03-101-0/+5
* fixes #794Araq2015-03-071-0/+10

                                       
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)