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 testCoordinatesUp() { Assert.assertEquals(coor32x16y.up(), new Coordinates(32, 15)); }