-
Bug
-
Resolution: Done
-
Major
-
8.34.0.Final
-
None
-
2023 Week 06-08 (from Feb 6)
-
3
-
NEW
-
NEW
Assume this constraint verifier code:
constraintVerifier.verifyThat(TennisConstraintProvider::fairAssignmentCountPerTeam) .given(assignment1, assignment2, assignment3) .penalizesBy(BigDecimal.valueOf(1.732));
The test will pass regardless of whether the constraint actually impacts by 1.732, 1.73 or 1.7. This is because internally, the impacts are actually cast to long.