public void TestAAvailablePlaysEmptyBoard() { TicTacToeBoard b = new TicTacToeBoard(); List <(int, int, int, int)> allPlays = new List <(int, int, int, int)>(); allPlays.Add((0, 0, 0, 0)); // Something in the list initially. int majorRow = 1; int majorCol = 2; for (int i = 0; i < 3; i++) // Adds all squares, using the given values for majorRow and MajorCol { for (int j = 0; j < 3; j++) { allPlays.Add((majorRow, majorCol, i, j)); } } List <(int, int, int, int)> avail = new List <(int, int, int, int)>(); avail.Add((0, 0, 0, 0)); // The initial list content b.GetAvailablePlays(avail, majorRow, majorCol); Assert.That(avail, Is.EquivalentTo(allPlays)); // avail and allPlays should contain the same elements }