# Evolving multiple living cells

Multiple cells should all follow the rules of the game
when evolving from one generation to the next.

Scenarios
A sparse grid with nobody staying alive
Given
I have supplied the following generation
 . . . . . . x . x . . . . . . . x . x . . . . . .
When
I tell the world to evolve once
Then
the current generation should be
 . . . . . . . . . . . . . . . . . . . . . . . . .
An over-crowded grid
Given
I have supplied the following generation
 . . . . . . x x x . . x x x . . x x x . . . . . .
When
I tell the world to evolve once
Then
the current generation should be
 . . x . . . x . x . x . . . x . x . x . . . x . .
An REALLY over-crowded grid
Given
I have supplied the following generation
 x x x x x x x x x x x x x x x x x x x x x x x x x
When
I tell the world to evolve once
Then
the current generation should be
 x . . . x . . . . . . . . . . . . . . . x . . . x
When
I tell the world to evolve once
Then
the current generation should be
 . . . . . . . . . . . . . . . . . . . . . . . . .
Multiple dead cells coming to life
Given
I have supplied the following generation
 . . . . . . . . . . . x x x . . . . . . . . . . .
When
I tell the world to evolve once
Then
the current generation should be
 . . . . . . . x . . . . x . . . . x . . . . . . .

Last published over 6 years ago by jcouball.