public void TestMapping() { var board = new Board(); var position1 = board.getBoardElementForCoordinates(new OTMA.domain.Coordinate(3, 3)); var position2 = board.getBoardElementForCoordinates(new OTMA.domain.Coordinate(2, 3)); Assert.AreEqual(position2, position1.directions[OTMA.domain.Direction.North]); }
public void BoardTest() { var board = new Board(); Assert.AreEqual(board.getAllAvailableBoardElements(), 25); }
public void TestRoomAndDoorAmount() { var board = new Board(); Assert.AreEqual(board.getAllAvailableRooms().Count, 15); Assert.AreEqual(board.getAllAvailableDoors().Count, 14); }