Skip to content

Commit 96f3471

Browse files
author
James Hunt
committed
Add cells which should be alive in multiple generations and multiple cells
1 parent 0fde567 commit 96f3471

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

features/multiple_cells.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ Feature: Evolving a grid with some cells in it
2727
| . | . | . | . | . |
2828
When I evolve the board
2929
Then I should see the following board
30-
| . | . | . | . | . |
30+
| . | . | x | . | . |
3131
| . | x | . | x | . |
32-
| . | . | . | . | . |
32+
| x | . | . | . | x |
3333
| . | x | . | x | . |
34-
| . | . | . | . | . |
34+
| . | . | x | . | . |
3535

3636
Scenario: Multiple dead cells coming to life
3737
Given the following setup
@@ -44,6 +44,6 @@ Feature: Evolving a grid with some cells in it
4444
Then I should see the following board
4545
| . | . | . | . | . |
4646
| . | . | x | . | . |
47-
| . | . | . | . | . |
47+
| . | . | x | . | . |
4848
| . | . | x | . | . |
4949
| . | . | . | . | . |

features/multiple_generations.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ Feature: Evolving a grid over multiple generations
1414
Then I should see the following board
1515
| . | . | . | . | . |
1616
| . | . | x | . | . |
17-
| . | . | . | . | . |
17+
| . | . | x | . | . |
1818
| . | . | x | . | . |
1919
| . | . | . | . | . |
2020
When I evolve the board
2121
Then I should see the following board
2222
| . | . | . | . | . |
2323
| . | . | . | . | . |
24-
| . | . | . | . | . |
24+
| . | x | x | x | . |
2525
| . | . | . | . | . |
2626
| . | . | . | . | . |
2727

0 commit comments

Comments
 (0)