public void testCoordinatesDirection() { Assert.assertEquals(coor32x16y.direction(0), coor32x16y.up()); Assert.assertEquals(coor32x16y.direction(1), coor32x16y.down()); Assert.assertEquals(coor32x16y.direction(2), coor32x16y.left()); Assert.assertEquals(coor32x16y.direction(3), coor32x16y.right()); }
public void testCoordinatesRight() { Assert.assertEquals(coor32x16y.right(), new Coordinates(33, 16)); }