Skip to content

Commit

Permalink
Workaround for equality check
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCockx committed Nov 23, 2023
1 parent a7d54f1 commit 08e4abb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ func CashPriceQuantityNoOfUnitsTriangulation: <"Data rule to check the relations
set success:
if cashPrice exists and noOfUnits exists and notional exists
then cashPrice * noOfUnits = notional
else True
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ void shouldReturnSuccessNotApplicableBecauseNoOfUnitsNotDefined() throws IOExcep
.collect(Collectors.toList());
Boolean notDefined = func.evaluate(quantity, price);

assertNull(notDefined);
assertTrue(notDefined);
}
}

0 comments on commit 08e4abb

Please sign in to comment.