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
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to