changelog shortlog tags changeset manifest revisions annotate raw

vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/TheGridWraps.story

changeset 15: 64acf98d15f4
author: moriq@moriq.com
date: Mon Mar 10 10:12:58 2008 +0900 (16 years ago)
permissions: -rw-r--r--
description: add plugins rspec
1Story: The grid wraps
2
3As a game player
4I want the grid to wrap
5So that untidy stuff at the edges is avoided
6
7Scenario: crowded in the corners
8
9Given the grid looks like
10X.X
11...
12X.X
13When the next step is taken
14Then the grid should look like
15X.X
16...
17X.X
18
19
20Scenario: the glider returns
21
22Given the glider
23......
24..X...
25.X....
26.XXX..
27......
28When the next step is taken
29and the next step is taken
30and the next step is taken
31and the next step is taken
32Then the grid should look like
33......
34......
35.X....
36X.....
37XXX...
38When the next step is taken
39Then the grid should look like
40.X....
41......
42......
43X.X...
44XX....
45When the next step is taken
46Then the grid should look like
47XX....
48......
49......
50X.....
51X.X...
52
53