Namespace: Drench
Assembly: Drench (in Drench.exe) Version: 1.1.1.0 (1.1.1)
Tests: Drench.Tests.BoardTests
2 unit tests call Drench.Board.Width
Assembly: Drench (in Drench.exe) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: Int32Remarks
Examples
[Test] public void CreateBoard() { Assert.AreEqual(Width, board.Width); Assert.AreEqual(Height, board.Height); }
[Test] public void CreateBoardFromData() { board = new Board(CreateBoardData()); Assert.AreEqual(board.Width, 2); Assert.AreEqual(board.Height, 3); Assert.AreEqual(board.GetColor(0, 1), Color.Red); Assert.AreEqual(board.GetColor(1, 2), Color.Orange); }
See Also