public void CellOnDefaultPositionIsWhite() { var board = new Board(); Assert.True(board.IsWhite(_defaultPosition)); }
public void WhiteCellIsBlackAfterChange() { var board = new Board(); board.ChangeColor(_defaultPosition); Assert.True(board.IsBlack(_defaultPosition)); }
public void DefaultPositionIsntBlack() { var board = new Board(); Assert.False(board.IsBlack(_defaultPosition)); }
public void TwiceChangedCellHasOriginalColor() { var board = new Board(); var somePosition = new Position(0, 1); var samePosition = new Position(0, 1); board.ChangeColor(somePosition); board.ChangeColor(samePosition); Assert.True(board.IsWhite(somePosition)); }
public void CellOnSomeChangedPositionIsBlack() { var board = new Board(); board.ChangeColor(_defaultPosition); var somePosition = new Position(0, 1); board.ChangeColor(somePosition); Assert.True(board.IsBlack(somePosition)); }