JuliaLang/julia — pull request #1406 by jacg (2012-10-18 21:57:45+00:00)
Title: isequal for Set and Dict (implementation and tests)

Implementation and tests for isequal(::Set, ::Set) and isequal(::Dict, ::Dict)

The behaviour of comparison of Sets and Dicts containing unrelated types probably needs more thinking about: what should be allowed, what should fail, what should the failure mode be.

In the process of writing the tests, I wrote an @assert_raises macro, to help write tests about error conditions. This macro is defined among the tests in test/corelib.jl. Clearly, it needs to go somewhere else, but I'm not sure where. (Surely, something like it exists already.)