Replace assert_equal with assert_in_delta for float