test/polynomial_test.rb in polynomials-0.1.1 vs test/polynomial_test.rb in polynomials-0.1.2

- old
+ new

@@ -67,8 +67,8 @@ end end def test_two_inflection_points polynomial = Polynomial.parse('+ 1.0 x^4 + 5.0 x^3 - 1.0 x^2 + 3.0 x + 5.0') - assert_equal({left:Set[-1.0/0..-2.5649778198382918, 0.06497781983829176..1.0/0], right: Set[-2.5649778198382918..0.06497781983829176] } , polynomial.curvature_behaviour) + assert_equal({left:Set[-1.0/0..-2.5649778198, 0.0649778198..1.0/0], right: Set[-2.5649778198..0.0649778198] } , polynomial.curvature_behaviour) end end