diff options
Diffstat (limited to 'sw-common-model/src/commonTest')
-rw-r--r-- | sw-common-model/src/commonTest/kotlin/org/luxons/sevenwonders/model/WonderSidePickMethodTest.kt (renamed from sw-common-model/src/commonTest/kotlin/org/luxons/sevenwonders/game/api/WonderSidePickMethodTest.kt) | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sw-common-model/src/commonTest/kotlin/org/luxons/sevenwonders/game/api/WonderSidePickMethodTest.kt b/sw-common-model/src/commonTest/kotlin/org/luxons/sevenwonders/model/WonderSidePickMethodTest.kt index 9757ff86..70a061e3 100644 --- a/sw-common-model/src/commonTest/kotlin/org/luxons/sevenwonders/game/api/WonderSidePickMethodTest.kt +++ b/sw-common-model/src/commonTest/kotlin/org/luxons/sevenwonders/model/WonderSidePickMethodTest.kt @@ -1,4 +1,4 @@ -package org.luxons.sevenwonders.game.api +package org.luxons.sevenwonders.model import kotlin.random.Random import kotlin.test.BeforeTest @@ -70,11 +70,15 @@ class WonderSidePickMethodTest { @Test fun pick_allSameRandom_sameAsFirst() { repeat(10) { - val side = WonderSidePickMethod.SAME_RANDOM_FOR_ALL.pickSide(random, WonderSide.A) + val side = WonderSidePickMethod.SAME_RANDOM_FOR_ALL.pickSide(random, + WonderSide.A + ) assertEquals(WonderSide.A, side) } repeat(10) { - val side = WonderSidePickMethod.SAME_RANDOM_FOR_ALL.pickSide(random, WonderSide.B) + val side = WonderSidePickMethod.SAME_RANDOM_FOR_ALL.pickSide(random, + WonderSide.B + ) assertEquals(WonderSide.B, side) } } |