public void ShouldCountTwoNeighborsorCoordinatesWithTwoNeighbors()
 {
     var generation = new Generation(new Coordinates(0, 0), new Coordinates(0, 2));
     var board = new Board(generation);
     Assert.AreEqual(2, board.CountNeightborsFor(new Coordinates(0, 1)));
 }
 public void ShouldCountZeroNeighborsOnEmptyBoard()
 {
     var board = new Board(Generation.Empty);
     Assert.AreEqual(0, board.CountNeightborsFor(new Coordinates(0, 1)));
 }
 public void ShouldCountOneNeighborForCoordinatesWithOneNeighbor()
 {
     var generation = new Generation(coordinatesOfLivingCells);
     var board = new Board(generation);
     Assert.AreEqual(1, board.CountNeightborsFor(new Coordinates(0, 1)));
 }