Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
#156 - moved test and added todo
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed May 24, 2023
1 parent 7ae2c32 commit 2da7456
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/test/eo/org/eolang/collections/hash-code-of-tests.eo
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
+package org.eolang.collections
+version 0.0.0

# @todo #156:30min Add more tests for hash-code-of object.
# It would be interesting to test floating numbers and, maybe, big numbers
# (or some corner cases)
[] > hash-code-bools-is-integer
assert-that > @
and.
Expand All @@ -39,6 +42,13 @@
hash-code-of FALSE
$.equal-to TRUE

[] > hash-of-int-is-int
assert-that > @
is-int.
number
hash-code-of 42
$.equal-to TRUE

[] > hash-codes-of-the-same-numbers-are-equal
42 > forty-two!
assert-that > @
Expand All @@ -59,10 +69,3 @@
$.not
$.equal-to
hash-code-of 24

[] > hash-of-int-is-int
assert-that > @
is-int.
number
hash-code-of 42
$.equal-to TRUE

0 comments on commit 2da7456

Please sign in to comment.