Dang. I didn't think of that.  I've got some refactoring to do.  :)
This'd work though:

require 'test/unit'

class Foo < Test::Unit::TestCase
def test_foo
array_1 = [1,2,3]
array_2 = [1,2,3]

assert_equal(array_1 - array_2 ,[])
assert_equal(array_2 - array_1 ,[])
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to