@Test public void testPutWall() { Board board = facade.createBoard(7, 16); Position position = Position.newPosition(3, 5, board); assertEquals(0, position.getElements().size()); facade.putWall(board, 3, 5, facade.createWall()); assertEquals(1, position.getElements().size()); }
@Test public void testPutRepairKit() { Board board = facade.createBoard(7, 16); Position position = Position.newPosition(3, 5, board); assertEquals(0, position.getElements().size()); facade.putRepairKit(board, 3, 5, facade.createRepairKit(3547, 364768)); assertEquals(1, position.getElements().size()); }