示例#1
0
        public void WhiteCellIsBlackAfterChange()
        {
            var board = new Board();

            board.ChangeColor(_defaultPosition);
            Assert.True(board.IsBlack(_defaultPosition));
        }
示例#2
0
        public void CellOnSomeChangedPositionIsBlack()
        {
            var board = new Board();

            board.ChangeColor(_defaultPosition);
            var somePosition = new Position(0, 1);

            board.ChangeColor(somePosition);
            Assert.True(board.IsBlack(somePosition));
        }
示例#3
0
        public void DefaultPositionIsntBlack()
        {
            var board = new Board();

            Assert.False(board.IsBlack(_defaultPosition));
        }
示例#4
0
 public void WhiteCellIsBlackAfterChange()
 {
     var board = new Board();
     board.ChangeColor(_defaultPosition);
     Assert.True(board.IsBlack(_defaultPosition));
 }
示例#5
0
 public void DefaultPositionIsntBlack()
 {
     var board = new Board();
     Assert.False(board.IsBlack(_defaultPosition));
 }
示例#6
0
 public void CellOnSomeChangedPositionIsBlack()
 {
     var board = new Board();
     board.ChangeColor(_defaultPosition);
     var somePosition = new Position(0, 1);
     board.ChangeColor(somePosition);
     Assert.True(board.IsBlack(somePosition));
 }