Пример #1
0
        public void InstantiatedWithChessBoardPosition_ReturnsCorrectZeroBasedPosition(char chessColumn, int chessRow, int zeroBasedColumn, int zeroBasedRow)
        {
            // arrange
            var sut = new BoardPosition(chessColumn, chessRow);

            // act
            var(Column, Row) = sut.GetZeroBasedPositions();

            // assert
            Column.Should().Be(zeroBasedColumn);
            Row.Should().Be(zeroBasedRow);
        }