Skip to content

Commit

Permalink
Fix comments in test
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickackermann committed Dec 11, 2024
1 parent e2d92f4 commit 7b39436
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ void setConstraintEverythingFilteredOut() throws Ili2cFailure, IoxException {
vh.runValidation(new String[]{TEST_DATA_ONLY_T2}, new String[]{"PolylinesOverlap/PolylinesOverlap.ili"});
assertEquals(3, vh.getErrs().size());
AssertionHelper.assertConstraintErrors(vh, 1, "setConstraintAllNoOverlaps");
AssertionHelper.assertConstraintErrors(vh, 1, "setConstraintT1");
AssertionHelper.assertConstraintErrors(vh, 1, "setConstraintT1"); // Error because no T1 objects
AssertionHelper.assertNoConstraintError(vh, "setConstraintT2");
AssertionHelper.assertConstraintErrors(vh, 1, "setConstraintT3");
AssertionHelper.assertNoConstraintError(vh, "setConstraintT1or2"); // One line in T1 is a segment of T2
AssertionHelper.assertNoConstraintError(vh, "setConstraintT2or3"); // The lines in T2 and T3 are equal
AssertionHelper.assertConstraintErrors(vh, 1, "setConstraintT3"); // Error because no T3 objects
AssertionHelper.assertNoConstraintError(vh, "setConstraintT1or2"); // T2 has overlapping lines
AssertionHelper.assertNoConstraintError(vh, "setConstraintT2or3"); // T2 has overlapping lines
}
}

0 comments on commit 7b39436

Please sign in to comment.