def testEvalPointsPoly4(self): self.assertTrue(abs( hw.eval_pointspoly(POINTS[1:4], 0) - 42.0 ) < .5)
def testEvalPointsPoly2(self): self.assertTrue(abs( hw.eval_pointspoly(POINTS[0:2], 0) - 42.0 ) > .5)