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