From 3ad72223b597fc31ad9a57a19010957fbef8c39d Mon Sep 17 00:00:00 2001 From: CharlyRien Date: Wed, 4 Oct 2023 23:25:22 +0200 Subject: [PATCH] fix: tests with AP bonus when having 4 elements or more of a set should be not taken into account --- .../kotlin/me/chosante/autobuilder/genetic/ScoringTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autobuilder/src/test/kotlin/me/chosante/autobuilder/genetic/ScoringTest.kt b/autobuilder/src/test/kotlin/me/chosante/autobuilder/genetic/ScoringTest.kt index 3c83b8af..d3d7f35f 100644 --- a/autobuilder/src/test/kotlin/me/chosante/autobuilder/genetic/ScoringTest.kt +++ b/autobuilder/src/test/kotlin/me/chosante/autobuilder/genetic/ScoringTest.kt @@ -172,7 +172,7 @@ class ScoringTest { } @Test - fun `double pano should be taken into account`() { + fun `double pano should not be taken into account`() { val level = 35 val characterSkills = CharacterSkills(level).apply { intelligence.resistance.setPointAssigned(9) @@ -327,7 +327,7 @@ class ScoringTest { ).filterNot { it.value == 0 } val expectedCharacteristics = mapOf( - ACTION_POINT to 10, + ACTION_POINT to 8, MOVEMENT_POINT to 3, HP to 606, CRITICAL_HIT to 14,