def testEvalPoly1(self): POLY = hw.create_random_poly(2, 42) self.assertEqual(hw.eval_poly(POLY, 0), 42)
def testEvalPoly2(self): self.assertEqual(hw.eval_poly(hw.create_random_poly(3, 9001), 0), 9001)