~ubuntu-branches/ubuntu/oneiric/puppet/oneiric-security

« back to all changes in this revision

Viewing changes to vendor/gems/rspec/examples/stories/game-of-life/behaviour/stories/EmptySpacesWithThreeNeighboursCreateACell.story

  • Committer: Bazaar Package Importer
  • Author(s): Micah Anderson
  • Date: 2008-07-26 15:43:45 UTC
  • mfrom: (1.1.8 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080726154345-c03m49twzxewdwjn
Tags: 0.24.5-2
* Fix puppetlast to work with 0.24.5
* Adjust logcheck to match against new log messages in 0.24.5
* Update standards version to 3.8.0 (no changes)
* Update changelog to reduce length of line to make lintian happy

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Story: Empty spaces with three neighbours create a cell
 
2
 
 
3
As a game producer
 
4
I want empty cells with three neighbours to die
 
5
So that I have a minimum feature set to ship
 
6
 
 
7
Scenario: the glider
 
8
 
 
9
Given the grid looks like
 
10
...X..
 
11
..X...
 
12
..XXX.
 
13
......
 
14
......
 
15
When the next step occurs
 
16
Then the grid should look like
 
17
......
 
18
..X.X.
 
19
..XX..
 
20
...X..
 
21
......
 
22
When the next step occurs
 
23
Then the grid should look like
 
24
......
 
25
..X...
 
26
..X.X.
 
27
..XX..
 
28
......
 
29
When the next step occurs
 
30
Then the grid should look like
 
31
......
 
32
...X..
 
33
.XX...
 
34
..XX..
 
35
......
 
36
When the next step occurs
 
37
Then the grid should look like
 
38
......
 
39
..X...
 
40
.X....
 
41
.XXX..
 
42
......