Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Array#==
- - returns true if other is the same array
- - returns true if corresponding elements are #eql?
- - returns false if other is shorter than self
- - returns false if other is longer than self
- - returns false immediately when sizes of the arrays differ
- - handles well recursive arrays
- - does not call #to_ary on its argument
- - does not call #to_ary on Array subclasses
- - ignores array class differences
- - compares with an equivalent Array-like object using #to_ary (FAILED - 1)
- - compares with an equivalent Array-like object using #to_ary (ERROR - 2)
- - returns false if any corresponding elements are not #== (FAILED - 3)
- - returns false if any corresponding elements are not #== (ERROR - 4)
- - returns true if corresponding elements are #== (FAILED - 5)
- - returns true if corresponding elements are #== (ERROR - 6)
- - returns false for [NaN] == [NaN] (FAILED - 7)
- - returns false for [NaN] == [NaN] (ERROR - 8)
Add Comment
Please, Sign In to add comment