diff --git a/src/test/java/org/openengine/vanilla/TacticalBehaviour442GlobalPassingTest.java b/src/test/java/org/openengine/vanilla/TacticalBehaviour442GlobalPassingTest.java index e27cdee4..0f7a9111 100644 --- a/src/test/java/org/openengine/vanilla/TacticalBehaviour442GlobalPassingTest.java +++ b/src/test/java/org/openengine/vanilla/TacticalBehaviour442GlobalPassingTest.java @@ -123,7 +123,8 @@ public void testCentreLeftMidfielderActionsProbabilisticAssertions() { assertEquals(0.33 * xP, testOutput.getPossessionOutcomeByPosition(Position.M_L), DELTA); assertEquals(0.33 * xP, testOutput.getPossessionOutcomeByPosition(Position.M_CR), DELTA); - assertEquals(0.33 * xP / VERTICAL_DISTANCE_UNIT_FACTOR, testOutput.getPossessionOutcomeByPosition(Position.F_CL), DELTA); + assertEquals(0.33 * xP / getUnitFactor(VERTICAL_DISTANCE_WEIGHT * 1.33), + testOutput.getPossessionOutcomeByPosition(Position.F_CL), DELTA); } @Test