diff options
author | jbion <joffrey.bion@amadeus.com> | 2019-02-21 00:52:51 +0100 |
---|---|---|
committer | jbion <joffrey.bion@amadeus.com> | 2019-02-21 00:52:51 +0100 |
commit | 548dd277dd8ad1ab9828f6ab1b548e962ce6530a (patch) | |
tree | cd1653a7648a5df63cf910d532458d89196c7229 /game-engine/src/test/kotlin/org | |
parent | Simplify playability further (diff) | |
download | seven-wonders-548dd277dd8ad1ab9828f6ab1b548e962ce6530a.tar.gz seven-wonders-548dd277dd8ad1ab9828f6ab1b548e962ce6530a.tar.bz2 seven-wonders-548dd277dd8ad1ab9828f6ab1b548e962ce6530a.zip |
Remove non idiomatic usages of lists
Diffstat (limited to 'game-engine/src/test/kotlin/org')
-rw-r--r-- | game-engine/src/test/kotlin/org/luxons/sevenwonders/game/resources/BestPriceCalculatorTest.kt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/resources/BestPriceCalculatorTest.kt b/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/resources/BestPriceCalculatorTest.kt index 5d99ae00..b4c3b886 100644 --- a/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/resources/BestPriceCalculatorTest.kt +++ b/game-engine/src/test/kotlin/org/luxons/sevenwonders/game/resources/BestPriceCalculatorTest.kt @@ -14,7 +14,6 @@ import org.luxons.sevenwonders.game.test.createTransaction import org.luxons.sevenwonders.game.test.createTransactions import org.luxons.sevenwonders.game.test.testBoard import org.luxons.sevenwonders.game.test.testTable -import java.util.Arrays import kotlin.test.assertEquals class BestPriceCalculatorTest { @@ -36,7 +35,7 @@ class BestPriceCalculatorTest { val left = testBoard(STONE) val main = testBoard(STONE) val right = testBoard(WOOD) - val table = Table(Arrays.asList(main, right, left)) + val table = Table(listOf(main, right, left)) val player0 = SimplePlayer(0, table) val player1 = SimplePlayer(1, table) @@ -64,7 +63,7 @@ class BestPriceCalculatorTest { val left = testBoard(WOOD) val right = testBoard(WOOD) val opposite = testBoard(GLASS) - val table = Table(Arrays.asList(main, right, opposite, left)) + val table = Table(listOf(main, right, opposite, left)) val player0 = SimplePlayer(0, table) val player1 = SimplePlayer(1, table) @@ -93,7 +92,7 @@ class BestPriceCalculatorTest { right.production.addChoice(WOOD, CLAY) right.publicProduction.addChoice(WOOD, CLAY) - val table = Table(Arrays.asList(main, right, left)) + val table = Table(listOf(main, right, left)) val player0 = SimplePlayer(0, table) val player1 = SimplePlayer(1, table) @@ -121,7 +120,7 @@ class BestPriceCalculatorTest { right.publicProduction.addFixedResource(ORE, 1) right.publicProduction.addFixedResource(CLAY, 1) - val table = Table(Arrays.asList(main, right, left)) + val table = Table(listOf(main, right, left)) val player0 = SimplePlayer(0, table) val player1 = SimplePlayer(1, table) |