public void TestIsPossibleCellOccupied() { int[,] mockLabyrinth = {{1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}}; mockBoard = new MockLabyrinthBoard(mockLabyrinth); Assert.IsFalse(mockBoard.IsPossibleCell(0, 0)); }
public void TestIsPossibleCellAvailable() { mockBoard = new MockLabyrinthBoard(mockLabyrinth); Assert.IsTrue(mockBoard.IsPossibleCell(LabyrinthBoard.LABYRINTH_SIZE - 1, LabyrinthBoard.LABYRINTH_SIZE - 1)); }