Skip to content

Commit

Permalink
Issue #15: modify 4-3-3 test (centre right defender)
Browse files Browse the repository at this point in the history
  • Loading branch information
atas76 committed Jul 28, 2023
1 parent 153cff4 commit ab2952f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ public void testCentreRightDefenderActionsProbabilisticAssertions() {
testOutput.runTest(Position.D_CR);

assertEquals(0.14, testOutput.getPossessionOutcomeByPosition(Position.GK), DELTA);
assertEquals(0.14 * xP * 2, testOutput.getPossessionOutcomeByPosition(Position.D_R), DELTA);
assertEquals(0.14 * xP / getUnitFactor(VERTICAL_DISTANCE_WEIGHT * 0.5),
testOutput.getPossessionOutcomeByPosition(Position.D_R), DELTA);
assertEquals(0.14 * xP, testOutput.getPossessionOutcomeByPosition(Position.D_CL), DELTA);
assertEquals(0.14 * xP / VERTICAL_DISTANCE_UNIT_FACTOR,
testOutput.getPossessionOutcomeByPosition(Position.M_C), DELTA);
Expand Down

0 comments on commit ab2952f

Please sign in to comment.