Le 01 septembre ? 11:03, Intransition a ?crit :

>   assert  r == [[:a,1], [:b,2]]

Well, you're talking about set semantics.  Why not :

>> r.to_set == [[:b, 2], [:a, 1]].to_set
=> true

?

You could define things like assert_as_set which maps the arguments with
to_set for you, for instance.

(Note that I'm not a regular user of the unit testing frameworks.)

Fred
-- 
Two things are infinite: the universe and human stupidity; and I'm not
sure about the the universe.                           (Albert Einstein)