Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
frandegrandis committed Jun 2, 2020
1 parent 4d33e72 commit 4841e71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions repository/IngSoft2-Tests/GameTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,13 @@ GameTest >> positionOf: aPlayer in: aGame [
{ #category : #running }
GameTest >> setUp [
"Hooks that subclasses may override to define the fixture of test."

players := OrderedCollection withAll: {'Fran' . 'Manu'}.
die := Die of: 6 rolling: #(4 1).
aNoEffect := NoEffect new.
aWormhole := Wormhole new.
anAtomicBomb := AtomicBomb new.
aSpeedUp := SpeedUp new.
anAtomicBomb := AtomicBomb new.
aSpeedUp := SpeedUp new
]

{ #category : #tests }
Expand Down Expand Up @@ -390,6 +391,7 @@ GameTest >> test22DueloDeTitanes [
self assert: (self positionOf: 'Fran' in: aGame) equals: 2.
aGame playTurn. "10p2 - Atomic Bomb!" "1"
self assert: (self positionOf: 'Manu' in: aGame) equals: 0.
self assert: (self lapsOf: 'Manu' in: aGame) equals: 1.
self assert: (self positionOf: 'Fran' in: aGame) equals: 0.
aGame playTurn. "11p1" "4"
self assert: (self positionOf: 'Fran' in: aGame) equals: 4.
Expand Down

0 comments on commit 4841e71

Please sign in to comment.