public void ShouldDefaultHeightAndWidthTo8WhenNoSupplidOnConstructor() { var chessboard = new StandardChessboard(); Assert.That(chessboard.Height, Is.EqualTo(8)); Assert.That(chessboard.Width, Is.EqualTo(8)); }
public void ShouldSetCustomerHeightAndWidth() { const int height = 4; const int width = 5; var chessboard = new StandardChessboard(height, width); Assert.That(chessboard.Height, Is.EqualTo(height)); Assert.That(chessboard.Width, Is.EqualTo(width)); }
public void Setup() { _emptyStandardChessboard = new StandardChessboard(); _trackingChessboard = new TrackingChessBoardV1(_emptyStandardChessboard); }