Exemplo n.º 1
0
 public void FindNeighbours_OnBorder_ReachesOver() =>
 NeighbourFinderBase.FindNeighbours_OnBorder(new OpenNeighbourFinder <StandardCell, StandardCellGrid>(), res => res.Count(c => c.IsAlive) == 2);
Exemplo n.º 2
0
 public void FindNeighbours_OnBorder_DoesNotReach() =>
 NeighbourFinderBase.FindNeighbours_OnBorder(new ClosedNeighbourFinder <StandardCell, StandardCellGrid>(), res => !res.Any(c => c.IsAlive));