Skip to content

Commit

Permalink
test: larger approx
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Nov 16, 2023
1 parent 089da66 commit f0ebd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/SpeedJumpIrmTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ contract AdaptiveCurveIrmTest is Test {
uint256 borrowRate = irm.borrowRate(marketParams, market1);

assertEq(borrowRateView, borrowRate, "borrowRateView");
assertApproxEqRel(borrowRate, expectedAvgRate, 0.1 ether, "avgBorrowRate");
assertApproxEqRel(borrowRate, expectedAvgRate, 0.11 ether, "avgBorrowRate");
assertApproxEqRel(irm.rateAtTarget(marketParams.id()), expectedRateAtTarget, 0.001 ether, "rateAtTarget");
}

Expand Down

0 comments on commit f0ebd8b

Please sign in to comment.