diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2018-07-11 00:20:59 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2018-07-11 00:50:17 +0200 |
commit | ada5f8702fc154a222095927266f55da9658507e (patch) | |
tree | 2eec50b0dcd91c72e502d18b2d58dd3f4f9b8cac /game-engine/src/test/kotlin | |
parent | Refactor wonders creation (diff) | |
download | seven-wonders-ada5f8702fc154a222095927266f55da9658507e.tar.gz seven-wonders-ada5f8702fc154a222095927266f55da9658507e.tar.bz2 seven-wonders-ada5f8702fc154a222095927266f55da9658507e.zip |
Random cleaning
Diffstat (limited to 'game-engine/src/test/kotlin')
3 files changed, 8 insertions, 6 deletions
diff --git a/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/boards/BoardTest.kt b/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/boards/BoardTest.kt index 526fbced..7c23bbd0 100644 --- a/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/boards/BoardTest.kt +++ b/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/boards/BoardTest.kt @@ -80,8 +80,10 @@ class BoardTest { @Theory fun getNbCardsOfColor_properCount_singleColor( - type: ResourceType, @FromDataPoints("nbCards") nbCards: Int, - @FromDataPoints("nbCards") nbOtherCards: Int, color: Color + type: ResourceType, + @FromDataPoints("nbCards") nbCards: Int, + @FromDataPoints("nbCards") nbOtherCards: Int, + color: Color ) { val board = testBoard(type) addCards(board, nbCards, nbOtherCards, color) @@ -90,9 +92,11 @@ class BoardTest { @Theory fun getNbCardsOfColor_properCount_multiColors( - type: ResourceType, @FromDataPoints("nbCards") nbCards1: Int, + type: ResourceType, + @FromDataPoints("nbCards") nbCards1: Int, @FromDataPoints("nbCards") nbCards2: Int, - @FromDataPoints("nbCards") nbOtherCards: Int, color1: Color, + @FromDataPoints("nbCards") nbOtherCards: Int, + color1: Color, color2: Color ) { val board = testBoard(type) diff --git a/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/effects/BonusPerBoardElementTest.kt b/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/effects/BonusPerBoardElementTest.kt index ccc1c142..3f0b0aa0 100644 --- a/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/effects/BonusPerBoardElementTest.kt +++ b/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/effects/BonusPerBoardElementTest.kt @@ -6,7 +6,6 @@ import org.junit.experimental.theories.Theories import org.junit.experimental.theories.Theory import org.junit.runner.RunWith import org.luxons.sevenwonders.game.api.Table -import org.luxons.sevenwonders.game.boards.BoardElementType import org.luxons.sevenwonders.game.boards.RelativeBoardPosition import org.luxons.sevenwonders.game.cards.CardBack import org.luxons.sevenwonders.game.cards.Color diff --git a/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/effects/SpecialAbilityActivationTest.kt b/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/effects/SpecialAbilityActivationTest.kt index 7282d60d..0531022d 100644 --- a/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/effects/SpecialAbilityActivationTest.kt +++ b/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/effects/SpecialAbilityActivationTest.kt @@ -8,7 +8,6 @@ import org.junit.experimental.theories.DataPoints import org.junit.experimental.theories.Theories import org.junit.experimental.theories.Theory import org.junit.runner.RunWith -import org.luxons.sevenwonders.game.boards.BoardElementType import org.luxons.sevenwonders.game.boards.RelativeBoardPosition import org.luxons.sevenwonders.game.cards.Card import org.luxons.sevenwonders.game.cards.Color |