public void CanMakeAMove() { Human human = new Human(); string[] spaces = { "0", "1", "2", "3", "4", "5", "6", "7", "8"}; TestHelper.SetInput("4"); Assert.AreEqual(4, human.Move(spaces)); }
public void CanAssignAndRetrieveAPlayerPiece() { Human human = new Human(); human.AssignMarker("X"); Assert.AreEqual("X", human.GetMarker()); }
public void CanAssignAndRetrieveAPlayersName() { Human human = new Human(); human.AssignName("Bob"); Assert.AreEqual("Bob", human.GetName()); }