diff --git a/test/test_polynom.py b/test/test_polynom.py index ac3a5f2..6320fb1 100644 --- a/test/test_polynom.py +++ b/test/test_polynom.py @@ -43,9 +43,9 @@ class TestPolynom(unittest.TestCase): p = Polynom([-1]) self.assertEqual(p(3).simplified(), -1) - #def test_eval_poly(self): - # p = Polynom([1, 2]) - # self.assertEqual(p("1+h").simplified(), Polynom([3,2])) + def test_eval_poly(self): + p = Polynom([1, 2]) + self.assertEqual(p("1+h").simplified(), Polynom([3,2], "h")) #def test_print(self): # p = Polynom([1,2,3])