public void AssertPlacementInUnoccupied() { //arrange Tran_CIS3374_Lab06_TicTacToe.Board board = new Tran_CIS3374_Lab06_TicTacToe.Board(); bool expectedUnoccupiedSpace = true; //act board.CreateBoard(); //assert Assert.AreEqual(expectedUnoccupiedSpace, board.MakeMove(5)); }
public void AssertCurrentPlayerPlacesX() { //arrange Tran_CIS3374_Lab06_TicTacToe.Board board = new Tran_CIS3374_Lab06_TicTacToe.Board(); int expectedPlacementValue = 1; //act board.CreateBoard(); board.MakeMove(5); //assert Assert.AreEqual(expectedPlacementValue, board.SpaceInUse(5)); }