From: Adam Akhtar Date: 2008-08-27T17:55:28+09:00 Subject: Re: unit testing with class and floats sorry a (simplified) example def simpleclass attr_accessor :big_num #its a float!!! end expected = simpleclass.new(105.234) assert_equal(expected, somefunction(blahblah)) i expect somefunction to return a class with 105.234 in the summary it shows that the function does in fact do that but it still fails it. -- Posted via http://www.ruby-forum.com/.