Namespace: GameOfLife
Assembly: GameOfLife (in GameOfLife.exe) Version: 1.1.1.0 (1.1.1)
Tests: GameOfLife.Tests.CellTests
3 unit tests call GameOfLife.Cell.Revive
Assembly: GameOfLife (in GameOfLife.exe) Version: 1.1.1.0 (1.1.1)
Syntax
Remarks
Examples
[Test, CloseAfterFirstFrame] public void CellIsAliveAfterCallingRevice() { cell.Revive(); Assert.IsTrue(cell.IsAlive); }
[Test, CloseAfterFirstFrame] public void CellIsDeadAfterCallingKill() { cell.Revive(); cell.Kill(); Assert.IsFalse(cell.IsAlive); }
[Test, CloseAfterFirstFrame] public void LiveCellHasWhiteColor() { cell.Revive(); Assert.AreEqual(Color.White, cell.Color); }
See Also