public void testBoard() { ArrayList board = new TTTGame().getBoard(); Assert.AreEqual(9, board.Count); foreach (int b in board) { Assert.AreEqual(0, b); } }
public void testInvalidMove() { TTTGame g = new TTTGame(); Assert.False(g.validMove(0, 0)); }
public void testMakeMove() { TTTGame g = new TTTGame(); Assert.True(g.makeMove("x", 0, 0)); }
public void testValidMove() { TTTGame g = new TTTGame(); Assert.True(g.validMove(0, 0)); }
public void testMakeMove() { TTTGame g = new TTTGame(); Assert.True(g.makeMove("x",0, 0)); }