def test___init__(self):
     """check _Position2Tuple.__init__()
     """
     self.assertNotEqual(0.0, self.pos2tuple.eps)
     self.pos2tuple = _Position2Tuple(1.0 / sys.maxint / 2)
     self.assertEqual(0.0, self.pos2tuple.eps)
     return
Ejemplo n.º 2
0
 def test___init__(self):
     """check _Position2Tuple.__init__()
     """
     self.assertNotEqual(0.0, self.pos2tuple.eps)
     self.pos2tuple = _Position2Tuple(1.0/sys.maxint/2)
     self.assertEqual(0.0, self.pos2tuple.eps)
     return
 def setUp(self):
     self.eps = 1.0e-4
     self.pos2tuple = _Position2Tuple(self.eps)
     return
Ejemplo n.º 4
0
 def setUp(self):
     self.eps = 1.0e-4
     self.pos2tuple = _Position2Tuple(self.eps)
     return