search for: handtest

Displaying 1 result from an estimated 1 matches for "handtest".

Did you mean: randtest
2006 Mar 21
2
These objects aren''t equal..I''m confused
...values are exactly the same as far as I can tell. The only difference is the object id, but Ruby compares the values, right? This just stopped working when I added another db field to the Hand class, but that shouldn''t affect this I''d think..any ideas? 1) Failure: test_hero(HandTest) [test/unit/hand_test.rb:34]: <#<Player:0x2208b24 @attributes= {"card1"=>"Kh", "card2"=>"Qd", "hero"=>true, "hand_id"=>1, "seat"=>3, "id"=>3, "range"=>nil, &q...