Skip to content

Commit

Permalink
Issue #15: Modify 4-4-2 test (centre right defender)
Browse files Browse the repository at this point in the history
  • Loading branch information
atas76 committed Jul 27, 2023
1 parent 4808354 commit d3e1f71
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ public void testCentreRightBackProbabilisticAssertions() {
assertEquals(0.17 * xP, testOutput.getPossessionOutcomeByPosition(Position.D_CL), DELTA);
assertEquals(0.17 * xP / VERTICAL_DISTANCE_UNIT_FACTOR, testOutput.getPossessionOutcomeByPosition(Position.M_CR), DELTA);
assertEquals(0.17 * xP / VERTICAL_DISTANCE_UNIT_FACTOR, testOutput.getPossessionOutcomeByPosition(Position.M_R), DELTA);
assertEquals(0.17 * xP / (2 * VERTICAL_DISTANCE_UNIT_FACTOR), testOutput.getPossessionOutcomeByPosition(Position.F_CR), DELTA);
assertEquals(0.17 * xP / (2 * getUnitFactor(VERTICAL_DISTANCE_WEIGHT * 1.33) * getUnitFactor(HORIZONTAL_DISTANCE_WEIGHT * 1.33)),
testOutput.getPossessionOutcomeByPosition(Position.F_CR), DELTA);
}

@Test
Expand Down

0 comments on commit d3e1f71

Please sign in to comment.