Skip to content

Commit

Permalink
Issue #15: modify 4-4-2 vs. 4-3-3 test (right defender)
Browse files Browse the repository at this point in the history
  • Loading branch information
atas76 committed Jul 28, 2023
1 parent 6bde5c7 commit 2a7b661
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void testRightBackActionsProbabilisticAssertions() {

assertEquals(0.2, testOutput.getPossessionOutcomeByPosition(Position.GK), DELTA);
assertEquals(0.2 * xP, testOutput.getPossessionOutcomeByPosition(Position.D_CR), DELTA);
assertEquals(0.2 * xP * 2.0 / HORIZONTAL_DISTANCE_UNIT_FACTOR,
assertEquals(0.2 * xP / getUnitFactor(HORIZONTAL_DISTANCE_WEIGHT * 0.5),
testOutput.getPossessionOutcomeByPosition(Position.M_R), DELTA);
assertEquals(0.2 * xP / (HORIZONTAL_DISTANCE_UNIT_FACTOR * VERTICAL_DISTANCE_UNIT_FACTOR),
testOutput.getPossessionOutcomeByPosition(Position.M_CR), DELTA);
Expand Down

0 comments on commit 2a7b661

Please sign in to comment.