Skip to content

Commit

Permalink
change comment
Browse files Browse the repository at this point in the history
Signed-off-by: Godelaine de Montmorillon <[email protected]>
  • Loading branch information
Godelaine committed Jan 24, 2025
1 parent 5d715b0 commit 24e15c4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ void testWithNullPtdfSum() {
AbsolutePtdfSumsComputation absolutePtdfSumsComputation = new AbsolutePtdfSumsComputation(glskProvider, boundaries, PTDF_SUM_LOWER_BOUND);
Map<FlowCnec, Map<TwoSides, Double>> ptdfSums = absolutePtdfSumsComputation.computeAbsolutePtdfSums(crac.getFlowCnecs(), systematicSensitivityResult);

// Test that these 3 new boundaries are ignored (results should be the same as previous test)
assertEquals(0.01, ptdfSums.get(crac.getFlowCnec("cnec3basecase")).get(TwoSides.TWO), DOUBLE_TOLERANCE);
// Test that sum = PTDF_SUM_LOWER_BOUND
assertEquals(PTDF_SUM_LOWER_BOUND, ptdfSums.get(crac.getFlowCnec("cnec3basecase")).get(TwoSides.TWO), DOUBLE_TOLERANCE);
}
}

0 comments on commit 24e15c4

Please sign in to comment.