Logo: Relish

  1. Sign in

Project: Bdd-kata-conways-life

Static generations

Multiple cells should all follow the rules of the game
when evolving through several generations. These
scenarios all result in generations that do not change
after evolution.

Scenarios
Block
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
. . . . .
. x x . .
. x x . .
. . . . .
. . . . .
Beehive
Given
I have supplied the following generation
. . . . . .
. . 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 . .
. . . . . .
Loaf
Given
I have supplied the following generation
. . . . . .
. . 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 . .
. . . . . .
Boat
Given
I have supplied the following generation
. . . . .
. x x . .
. x . x .
. . x . .
. . . . .
When
I tell the world to evolve once
Then
the current generation should be
. . . . .
. x x . .
. x . x .
. . x . .
. . . . .

Last published over 4 years ago by jcouball.