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