Created
April 7, 2015 00:37
-
-
Save ZempTime/bdd48fbee687a556b2d4 to your computer and use it in GitHub Desktop.
TDD Game of Life
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RSpec.describe Game do | |
it 'accepts an initial seed pattern' do | |
seed = [ | |
[1, 1], | |
[1, 1] | |
] | |
@game = Game.new(seed) | |
expect(@game.cells).to eq(4) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment