Tobias og Gabriel added extra test to wall class

This commit is contained in:
Petter Tobias Madsen 2020-02-20 11:04:16 +01:00
parent 0ee705252b
commit 54c15dcbac

View File

@ -18,6 +18,11 @@ public class TestWall {
assertEquals(WallType.WALL_CORNER, testGetWall.getWallType());
}
@Test
public void testWallGetWallTypeLaserSingle(){
Wall testGetWall = new Wall(WallType.WALL_LASER_SINGLE, Direction.NORTH);
assertEquals(WallType.WALL_LASER_SINGLE, testGetWall.getWallType());
}
@Test
public void testWallGetDirectionNorth(){
Wall testGetWall = new Wall(WallType.WALL_CORNER, Direction.NORTH);
assertEquals(Direction.NORTH, testGetWall.getDirection());