summaryrefslogtreecommitdiff
path: root/sw-engine/src/test/kotlin
diff options
context:
space:
mode:
authorjbion <joffrey.bion@amadeus.com>2019-05-20 11:46:01 +0200
committerjbion <joffrey.bion@amadeus.com>2019-05-20 11:46:01 +0200
commit036fc87fa4759dca994964ede7732ffa9f6dd4a3 (patch)
tree2cbcb27e6abbafa8e9511379b172cf71ade73aec /sw-engine/src/test/kotlin
parentFix some tests (diff)
downloadseven-wonders-036fc87fa4759dca994964ede7732ffa9f6dd4a3.tar.gz
seven-wonders-036fc87fa4759dca994964ede7732ffa9f6dd4a3.tar.bz2
seven-wonders-036fc87fa4759dca994964ede7732ffa9f6dd4a3.zip
Move some declarations to a better place
Diffstat (limited to 'sw-engine/src/test/kotlin')
-rw-r--r--sw-engine/src/test/kotlin/org/luxons/sevenwonders/game/test/TestUtils.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw-engine/src/test/kotlin/org/luxons/sevenwonders/game/test/TestUtils.kt b/sw-engine/src/test/kotlin/org/luxons/sevenwonders/game/test/TestUtils.kt
index 0e6eb2b7..07e22a56 100644
--- a/sw-engine/src/test/kotlin/org/luxons/sevenwonders/game/test/TestUtils.kt
+++ b/sw-engine/src/test/kotlin/org/luxons/sevenwonders/game/test/TestUtils.kt
@@ -3,7 +3,7 @@ package org.luxons.sevenwonders.game.test
import org.luxons.sevenwonders.game.Player
import org.luxons.sevenwonders.game.PlayerContext
import org.luxons.sevenwonders.game.Settings
-import org.luxons.sevenwonders.game.api.ApiCountedResource
+import org.luxons.sevenwonders.game.resources.CountedResource
import org.luxons.sevenwonders.game.api.CustomizableSettings
import org.luxons.sevenwonders.game.api.PlayerMove
import org.luxons.sevenwonders.game.boards.Board
@@ -75,7 +75,7 @@ internal fun createTransactions(provider: Provider, vararg resources: ResourceTy
internal fun createTransactions(vararg transactions: ResourceTransaction): ResourceTransactions = transactions.toSet()
internal fun createTransaction(provider: Provider, vararg resources: ResourceType): ResourceTransaction =
- ResourceTransaction(provider, resources.map { ApiCountedResource(1, it) })
+ ResourceTransaction(provider, resources.map { CountedResource(1, it) })
internal fun createRequirements(vararg types: ResourceType): Requirements = Requirements(resources = resourcesOf(*types))
bgstack15