コード例 #1
0
ファイル: UniverseTest.cs プロジェクト: hieplenet/GameOfLife
 public void UniverseAddDuplicatedLivingCells()
 {
     Universe universe = new Universe();
     universe.Add(new Cell(1, 1));
     universe.Add(new Cell(1, 1));
     List<Cell> cells = universe.GetAllLivingCells();
     Assert.IsTrue(cells.Count == 1);
 }