Skip to content

Commit

Permalink
Remove whitespace [Gun.io WhitespaceBot]
Browse files Browse the repository at this point in the history
  • Loading branch information
Gun.io Whitespace Robot committed Oct 28, 2011
1 parent c8d39a5 commit 7bf11ab
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Building a Conways' Game of Life simulator is a great way to practice different techniques in the language of your choice. This git repository contains a set of cucumber features that describe the rules of Conway's Game of Life. I've also included a few standard, larger patterns that you can use to check multiple generation evolution.

== How to use

Fork this repo on github, clone to your local machine and start working. Thanks to the cucumber team's efforts in integrating cucumber with multiple languages, these features can be used to drive development in many different languages, most likely your favorite one.

== How to contribute more
Expand Down
12 changes: 6 additions & 6 deletions features/dead_cell.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,39 +18,39 @@ Feature: Evolving a dead cell
| . | . | . |
When I evolve the board
Then the center cell should be dead

Scenario: Dead cell with 2 neighbors stays dead
Given the following setup
| . | x | . |
| . | . | x |
| . | . | . |
When I evolve the board
Then the center cell should be dead

Scenario: Dead cell with 3 neighbors comes to life
Given the following setup
| x | x | x |
| . | . | . |
| . | . | . |
When I evolve the board
Then the center cell should be alive

Scenario: Dead cell with 4 neighbors stays dead
Given the following setup
| x | x | x |
| . | . | x |
| . | . | . |
When I evolve the board
Then the center cell should be dead

Scenario: Dead cell with 5 neighbors stays dead
Given the following setup
| x | x | x |
| x | . | x |
| . | . | . |
When I evolve the board
Then the center cell should be dead

Scenario: Dead cell with 6 neighbors stays dead
Given the following setup
| x | x | x |
Expand All @@ -66,7 +66,7 @@ Feature: Evolving a dead cell
| x | x | . |
When I evolve the board
Then the center cell should be dead

Scenario: Dead cell with 8 neighbors stays dead
Given the following setup
| x | x | x |
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
require 'spec/autorun'

Spec::Runner.configure do |config|

end

0 comments on commit 7bf11ab

Please sign in to comment.