diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2019-05-22 02:40:48 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2019-05-22 02:40:48 +0200 |
commit | 157edc9b8027f63998758d3c91cbaa1053550f0f (patch) | |
tree | 3c5b1b6b4c3c33f1493d6ef2a5ec71a796b24603 /sw-common-model/src/commonTest | |
parent | Reorder subprojects in settings.gradle to make more sense (diff) | |
download | seven-wonders-157edc9b8027f63998758d3c91cbaa1053550f0f.tar.gz seven-wonders-157edc9b8027f63998758d3c91cbaa1053550f0f.tar.bz2 seven-wonders-157edc9b8027f63998758d3c91cbaa1053550f0f.zip |
Reorganize packages again
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) } } |