Beispiel #1
0
        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));
        }
Beispiel #2
0
 public void CellOnDefaultPositionIsWhite()
 {
     var board = new Board();
     Assert.True(board.IsWhite(_defaultPosition));
 }
Beispiel #3
0
        public void CellOnDefaultPositionIsWhite()
        {
            var board = new Board();

            Assert.True(board.IsWhite(_defaultPosition));
        }
Beispiel #4
0
 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));
 }