Sha256: 970a84abd4efb5b8c4f41a70739d297e61c523661a5762f5f3f70d3cc9cb7287
Contents?: true
Size: 1.25 KB
Versions: 1
Compression:
Stored size: 1.25 KB
Contents
Feature: The start situation is playable and 1's fold into 2's to create 3's. Scenario: I have just started a game. The board is full of small numbers and empty cells. Given a gameboard |0|1|2|0| |0|1|2|0| |0|1|2|0| |0|1|2|0| When the game is folded right to left Then the gameboard looks like |1|2|0|0| |1|2|0|0| |1|2|0|0| |1|2|0|0| Scenario: I am folding ones and twos in a fairly empty board Given a gameboard |1|2|0|0| |1|2|0|0| |1|2|0|0| |1|2|0|0| When the game is folded right to left Then the gameboard looks like |3|0|0|0| |3|0|0|0| |3|0|0|0| |3|0|0|0| Scenario: I am folding right over zeros Given a gameboard |1|2|0|0| |1|2|0|0| |1|2|0|0| |1|2|0|0| When the game is folded left to right Then the gameboard looks like |0|1|2|0| |0|1|2|0| |0|1|2|0| |0|1|2|0| Scenario: I am folding up over zeros Given a gameboard |0|0|0|0| |2|2|2|2| |1|1|1|1| |0|0|0|0| When the game is folded upwards Then the gameboard looks like |2|2|2|2| |1|1|1|1| |0|0|0|0| |0|0|0|0| Scenario: I am folding down over zeros Given a gameboard |0|0|0|0| |2|2|2|2| |1|1|1|1| |0|0|0|0| When the game is folded downwards Then the gameboard looks like |0|0|0|0| |0|0|0|0| |2|2|2|2| |1|1|1|1|
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
threesmodel-0.0.3 | features/basic_folding.feature |