diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-05-05 17:43:41 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-05-12 09:15:07 +0200 |
commit | 47b33a1f3726a5b0ce9c60ec843ee66ee3689104 (patch) | |
tree | f3cb3541a9346cea44b9075b9fa610b094466233 /sw-engine/src/test/kotlin | |
parent | Move tests to their proper place (diff) | |
download | seven-wonders-47b33a1f3726a5b0ce9c60ec843ee66ee3689104.tar.gz seven-wonders-47b33a1f3726a5b0ce9c60ec843ee66ee3689104.tar.bz2 seven-wonders-47b33a1f3726a5b0ce9c60ec843ee66ee3689104.zip |
Move score to common model (to enable passing it to client)
Diffstat (limited to 'sw-engine/src/test/kotlin')
-rw-r--r-- | sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/boards/BoardTest.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/boards/BoardTest.kt b/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/boards/BoardTest.kt index 0b514e5f..165fbaa1 100644 --- a/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/boards/BoardTest.kt +++ b/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/boards/BoardTest.kt @@ -9,13 +9,10 @@ import org.junit.experimental.theories.Theories import org.junit.experimental.theories.Theory import org.junit.runner.RunWith import org.luxons.sevenwonders.engine.boards.Board.InsufficientFundsException -import org.luxons.sevenwonders.model.cards.Color import org.luxons.sevenwonders.engine.effects.RawPointsIncrease import org.luxons.sevenwonders.engine.effects.SpecialAbility import org.luxons.sevenwonders.engine.effects.SpecialAbilityActivation -import org.luxons.sevenwonders.model.resources.ResourceType import org.luxons.sevenwonders.engine.resources.resourcesOf -import org.luxons.sevenwonders.engine.score.ScoreCategory import org.luxons.sevenwonders.engine.test.addCards import org.luxons.sevenwonders.engine.test.getDifferentColorFrom import org.luxons.sevenwonders.engine.test.playCardWithEffect @@ -24,6 +21,9 @@ import org.luxons.sevenwonders.engine.test.testBoard import org.luxons.sevenwonders.engine.test.testCard import org.luxons.sevenwonders.engine.test.testSettings import org.luxons.sevenwonders.engine.test.testWonder +import org.luxons.sevenwonders.model.cards.Color +import org.luxons.sevenwonders.model.resources.ResourceType +import org.luxons.sevenwonders.model.score.ScoreCategory import kotlin.test.assertFailsWith import kotlin.test.assertFalse import kotlin.test.assertSame @@ -173,7 +173,7 @@ class BoardTest { } @Theory - fun computePoints_(@FromDataPoints("gold") gold: Int) { + fun computePoints_goldAndPoints(@FromDataPoints("gold") gold: Int) { assumeTrue(gold >= 0) val board = testBoard(initialGold = gold) |