def test_tile_from_xy_returns_correctly5(self): m = GreyCubeMap(width=1536, height=1024) i = m.tile_from_xy((1535, 1023)) self.assertEqual(5, i.cube_face)
def test_tile_from_xy_returns_correctly3(self): m = GreyCubeMap(width=1536, height=1024) i = m.tile_from_xy((0, 512)) self.assertEqual(3, i.cube_face)