Esempio n. 1
0
 def file(self):
     """The file as a character in %s""" % self.files
     return self.files[X88.to_x(self._x88)]
Esempio n. 2
0
 def x(self):
     """The x-coordinate, starting with 0 for the a-file."""
     return X88.to_x(self._x88)
Esempio n. 3
0
 def test_to_x(self):
     self.assertEqual(X88.to_x(0), 0)
Esempio n. 4
0
 def file(self):
     """The file as a character in %s""" % self.files
     return self.files[X88.to_x(self._x88)]
Esempio n. 5
0
 def x(self):
     """The x-coordinate, starting with 0 for the a-file."""
     return X88.to_x(self._x88)
Esempio n. 6
0
 def test_to_x(self):
     self.assertEqual(X88.to_x(0), 0)