search for: test_calc_stats

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

2006 Mar 22
2
Test Failure: <0.01> expected but was <0.01>
...ce. It''s simply def ev_diff ev_push - ev_fold end The value of ev_push is 0.26, value of ev_fold is 0.05, so the diff is obviously 0.01. I have an assertion written as: assert_equal 0.01, stats.ev_diff Which fails..but I have no clue why. The failure message follow: 1) Failure: test_calc_stats(HandStatsTest) [test/unit/hand_stats_test.rb:54]: <0.01> expected but was <0.01>. That makes absolutely no sense to me. It expects 0.01 and gets 0.01, but somehow fails? What''s up with that? Pat