public void m_MapTest_WestWallBroken_AllMaps() { Game aGame = new Game(); aGame.SetMap(1); Tile[,] theMap; Tile[][,] allTheMaps = aGame.GetFiler().GetAllMyMaps(); bool expected, actual; expected = false; actual = false; // return true if one West wall is broken for (int i = 0; i < allTheMaps.Length; i++) { if (allTheMaps[i] != null) { theMap = allTheMaps[i]; if (aGame.WestWallBroken(theMap) == true) { actual = true; } } } Assert.AreEqual(expected, actual, "One of the West walls is broken"); }