Skip to content

Commit 1deabf9

Browse files
committed
Merge branch 'feat/compound-1' of github.com:morpho-labs/blue into feat/compound-1
2 parents 4f0aacf + 54bbd92 commit 1deabf9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/forge/Math.t.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import "src/libraries/FixedPointMathLib.sol";
88
contract MathTest is Test {
99
using FixedPointMathLib for uint256;
1010

11-
function testTaylorSeriesExpansion(uint256 rate, uint256 timeElapsed) public {
11+
function testWTaylorCompounded(uint256 rate, uint256 timeElapsed) public {
12+
1213
// Assume rate is less than a ~500% APY. (~180% APR)
1314
vm.assume(rate < (FixedPointMathLib.WAD / 20_000_000) && timeElapsed < 365 days);
1415
uint256 result = rate.wTaylorCompounded(timeElapsed) + FixedPointMathLib.WAD;

0 commit comments

Comments
 (0)