mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
Tobias og Gabriel added extra test to wall class
This commit is contained in:
parent
0ee705252b
commit
54c15dcbac
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user