]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/rspec-1.1.2/examples/stories/game-of-life/behaviour/stories/EmptySpacesWithThreeNeighboursCreateACell.story
Show whether a trace is public or private in the trace list, so that a user can easil...
[rails.git] / vendor / gems / rspec-1.1.2 / examples / stories / game-of-life / behaviour / stories / EmptySpacesWithThreeNeighboursCreateACell.story
1 Story: Empty spaces with three neighbours create a cell\r
2 \r
3 As a game producer\r
4 I want empty cells with three neighbours to die\r
5 So that I have a minimum feature set to ship\r
6 \r
7 Scenario: the glider\r
8 \r
9 Given the grid looks like\r
10 ...X..\r
11 ..X...\r
12 ..XXX.\r
13 ......\r
14 ......\r
15 When the next step occurs\r
16 Then the grid should look like\r
17 ......\r
18 ..X.X.\r
19 ..XX..\r
20 ...X..\r
21 ......\r
22 When the next step occurs\r
23 Then the grid should look like\r
24 ......\r
25 ..X...\r
26 ..X.X.\r
27 ..XX..\r
28 ......\r
29 When the next step occurs\r
30 Then the grid should look like\r
31 ......\r
32 ...X..\r
33 .XX...\r
34 ..XX..\r
35 ......\r
36 When the next step occurs\r
37 Then the grid should look like\r
38 ......\r
39 ..X...\r
40 .X....\r
41 .XXX..\r
42 ......\r