mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-14 17:59:11 +07:00
Upgraded mockito versions.
Instead of forcing reflection to depend on latest kotlin version, I have a feeling the dependency is due to older mockito depending on older reflection.
This commit is contained in:
@ -115,13 +115,9 @@ class UnitMovementAlgorithmsTests {
|
||||
|
||||
for (type in ruleSet.unitTypes) {
|
||||
unit.baseUnit = BaseUnit().apply { unitType = type.key; ruleset = ruleSet }
|
||||
|
||||
unit.updateUniques()
|
||||
|
||||
println(type.key + " " + unit.movement.canPassThrough(tile))
|
||||
println()
|
||||
|
||||
Assert.assertTrue("$type cannot be in Ice", (
|
||||
Assert.assertTrue("$type cannot be in Ice", (
|
||||
type.value.uniques.contains("Can enter ice tiles"))
|
||||
|| type.value.uniques.contains("Can pass through impassable tiles"
|
||||
) == unit.movement.canPassThrough(tile))
|
||||
|
Reference in New Issue
Block a user