public void m_MapTest_Corners_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 corner is broken in one of the maps for (int i = 0; i < allTheMaps.Length; i++) { if (allTheMaps[i] != null) { theMap = allTheMaps[i]; if (aGame.AreCornersBroken(theMap) == true) { actual = true; } } } Assert.AreEqual(expected, actual, "One of the corners is broken in the Map library"); }