[racket] (check-equal? hash1 hash2) fails
FAILURE
actual: #hash((6 . 1) (4 . 1) (3 . 2) (2 . 2))
expected: #hash((2 . 2) (3 . 2) (4 . 1) (6 . 1))
name: check-equal?
I tried alternative like
(check-true (hash-equal? hash1 hash2))
but it turns out hash-equal? is not what I expected it to be.
Other than writing a custom comparison, is there a handy way to compare 2
#hash?
jGc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130817/66ea48a7/attachment-0001.html>