How to compare two types of Julia for unit testing?

I think that that package is well-documented, but

using AutoHashEquals

@auto_hash_equals immutable Foo
    a
    b
end

Foo(1,2) == Foo(1,2) # true
1 Like