Mark Rizun schreef op 2-4-2014 15:07:I can but I did already.
Could you give me the code of test that fails?
The code is :And this is a code which succeeced:
testCellOnState
� � � | cell |
� � � cell := BlankCell new.
� � � cell should: [ cell isOff ].
� � � cell shouldnt: �[ cell isOn ].
estCellExitSides
� � �| cell exit |
� � cell := BlankCell new.
� � exit := cell exitSideFor: #north.
� � self should: [ exit = #south ].
� � exit := cell exitSideFor: #east.
� � self should: [ exit = #west ].
� � exit := cell exitSideFor: #south.
� � self should: [ exit = #north ].
� � exit := cell exitSideFor: #west.
� � self should: [ exit = #east ].
Roelof