Skip to content
Browse files

made scenario description more explicit

  • Loading branch information...
1 parent ddff87a commit 5e2c6d28c52e18d14d71579ecf4c37846202a06c @coreyhaines coreyhaines committed
Showing with 9 additions and 9 deletions.
  1. +9 −9 features/dead_cell.feature
View
18 features/dead_cell.feature
@@ -3,7 +3,7 @@ Feature: Evolving a dead cell
As a programmer of Conway's Game of Life
I can evolve a single dead cell based
- Scenario: Dead cell with 0 neighbors
+ Scenario: Dead cell with 0 neighbors stays dead
Given the following setup
| . | . | . |
| . | . | . |
@@ -11,7 +11,7 @@ Feature: Evolving a dead cell
When I evolve the board
Then the center cell should be dead
- Scenario: Dead cell with 1 neighbor
+ Scenario: Dead cell with 1 neighbor stays dead
Given the following setup
| . | x | . |
| . | . | . |
@@ -19,7 +19,7 @@ Feature: Evolving a dead cell
When I evolve the board
Then the center cell should be dead
- Scenario: Dead cell with 2 neighbors
+ Scenario: Dead cell with 2 neighbors stays dead
Given the following setup
| . | x | . |
| . | . | x |
@@ -27,7 +27,7 @@ Feature: Evolving a dead cell
When I evolve the board
Then the center cell should be dead
- Scenario: Dead cell with 3 neighbors
+ Scenario: Dead cell with 3 neighbors comes to life
Given the following setup
| x | x | x |
| . | . | . |
@@ -35,7 +35,7 @@ Feature: Evolving a dead cell
When I evolve the board
Then the center cell should be alive
- Scenario: Dead cell with 4 neighbors
+ Scenario: Dead cell with 4 neighbors stays dead
Given the following setup
| x | x | x |
| . | . | x |
@@ -43,7 +43,7 @@ Feature: Evolving a dead cell
When I evolve the board
Then the center cell should be dead
- Scenario: Dead cell with 5 neighbors
+ Scenario: Dead cell with 5 neighbors stays dead
Given the following setup
| x | x | x |
| x | . | x |
@@ -51,7 +51,7 @@ Feature: Evolving a dead cell
When I evolve the board
Then the center cell should be dead
- Scenario: Dead cell with 6 neighbors
+ Scenario: Dead cell with 6 neighbors stays dead
Given the following setup
| x | x | x |
| x | . | x |
@@ -59,7 +59,7 @@ Feature: Evolving a dead cell
When I evolve the board
Then the center cell should be dead
- Scenario: Dead cell with 7 neighbors
+ Scenario: Dead cell with 7 neighbors stays dead
Given the following setup
| x | x | x |
| x | . | x |
@@ -67,7 +67,7 @@ Feature: Evolving a dead cell
When I evolve the board
Then the center cell should be dead
- Scenario: Dead cell with 8 neighbors
+ Scenario: Dead cell with 8 neighbors stays dead
Given the following setup
| x | x | x |
| x | x | x |

0 comments on commit 5e2c6d2

Please sign in to comment.
Something went wrong with that request. Please try again.