Esempio n. 1
0
 def test_star(self):
     'test for star points'
     r = HyperRectangle([(1, 2), (10, 20), (100, 200), (500, 500)])
     self.assertTrue(len(r.star()) == 8, 'incorrect number of star points')
Esempio n. 2
0
 def test_star(self):
     'test for star points'
     r = HyperRectangle([(1, 2), (10, 20), (100, 200), (500, 500)])        
     self.assertTrue(len(r.star()) == 8, 'incorrect number of star points')