233683) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 20.36ms (5.23ms CPU time)
Ran 2 tests for tests/MapleLoanFeeManager.t.sol:GetterTests \[PASS] test\_getDelegateServiceFeesForPeriod() (gas: 717302) \[PASS] test\_getPlatformServiceFeeForPeriod() (gas: 1059368) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 7.45ms (4.28ms CPU time)
\[PASS] test\_payClosingServiceFees() (gas: 276208) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 9.01ms (3.94ms CPU time)
Ran 77 tests for tests/MapleLoan.t.sol:MapleLoanTests \[PASS] test\_acceptBorrower\_acl() (gas: 54102) \[PASS] test\_acceptBorrower\_failWhenPaused() (gas: 31214) \[PASS] test\_acceptLender\_acl() (gas: 52406) \[PASS] test\_acceptLender\_failWhenPaused() (gas: 31279) \[PASS] test\_acceptNewTerms() (gas: 1615477) \[PASS] test\_acceptNewTerms\_acl() (gas: 1565477) \[PASS] test\_acceptNewTerms\_failWhenPaused() (gas: 33139) \[PASS] test\_closeLoan\_failWhenPaused() (gas: 32336) \[PASS] test\_closeLoan\_pullPatternAsBorrower() (gas: 1536630) \[PASS] test\_closeLoan\_pullPatternAsNonBorrower() (gas: 1539264) \[PASS] test\_closeLoan\_pullPatternUsingDrawable() (gas: 1552379) \[PASS] test\_closeLoan\_pushPatternAsBorrower() (gas: 1554175) \[PASS] test\_closeLoan\_pushPatternAsNonBorrower() (gas: 1554831) \[PASS] test\_closeLoan\_pushPatternUsingDrawable() (gas: 1519633) \[PASS] test\_drawdownFunds\_acl\_asBorrower() (gas: 1482857) \[PASS] test\_drawdownFunds\_acl\_asBorrowerActions() (gas: 1488669) \[PASS] test\_drawdownFunds\_failWhenPaused() (gas: 32506) \[PASS] test\_drawdownFunds\_pullPatternForCollateral() (gas: 2937756) \[PASS] test\_drawdownFunds\_pushPatternForCollateral() (gas: 2916501) \[PASS] test\_drawdownFunds\_withoutAdditionalCollateralRequired() (gas: 2748657) \[PASS] test\_excessCollateral\_varyCollateral() (gas: 147809) \[PASS] test\_excessCollateral\_varyDrawableFunds() (gas: 131676) \[PASS] test\_excessCollateral\_varyPrincipal() (gas: 94632) \[PASS] test\_fundLoan\_failWhenPaused() (gas: 31530) \[PASS] test\_fundLoan\_pushPattern() (gas: 1660577) \[PASS] test\_getAdditionalCollateralRequiredFor\_varyAmount() (gas: 134521) \[PASS] test\_getAdditionalCollateralRequiredFor\_varyCollateralRequired() (gas: 118958) \[PASS] test\_getAdditionalCollateralRequiredFor\_varyDrawableFunds() (gas: 121514) \[PASS] test\_getAdditionalCollateralRequiredFor\_varyPrincipal() (gas: 142693) \[PASS] test\_impairLoan() (gas: 82040) \[PASS] test\_impairLoan\_acl() (gas: 94676) \[PASS] test\_impairLoan\_failWhenPaused() (gas: 31275) \[PASS] test\_impairLoan\_lateLoan() (gas: 82227) \[PASS] test\_makePayment\_failWhenPaused() (gas: 32402) \[PASS] test\_makePayment\_pullPatternAsBorrower() (gas: 1599267) \[PASS] test\_makePayment\_pullPatternAsNonBorrower() (gas: 1601609) \[PASS] test\_makePayment\_pullPatternUsingDrawable() (gas: 1643775) \[PASS] test\_makePayment\_pushPatternAsBorrower() (gas: 1605283) \[PASS] test\_makePayment\_pushPatternAsNonBorrower() (gas: 1605645) \[PASS] test\_makePayment\_pushPatternUsingDrawable() (gas: 1611135) \[PASS] test\_migrate\_acl() (gas: 90384) \[PASS] test\_migrate\_failWhenPaused() (gas: 32432) \[PASS] test\_postCollateral\_failWhenPaused() (gas: 31964) \[PASS] test\_postCollateral\_pullPattern() (gas: 1450394) \[PASS] test\_postCollateral\_pushPattern() (gas: 1399988) \[PASS] test\_proposeNewTerms() (gas: 121002) \[PASS] test\_proposeNewTerms\_acl\_asBorrower() (gas: 138122) \[PASS] test\_proposeNewTerms\_acl\_asBorrowerActions() (gas: 138648) \[PASS] test\_proposeNewTerms\_failWhenPaused() (gas: 33053) \[PASS] test\_proposeNewTerms\_invalidDeadline() (gas: 132551) \[PASS] test\_rejectNewTerms\_acl() (gas: 197404) \[PASS] test\_rejectNewTerms\_failWhenPaused() (gas: 33162) \[PASS] test\_removeCollateral\_acl\_asBorrower() (gas: 1441281) \[PASS] test\_removeCollateral\_acl\_asBorrowerActions() (gas: 1447226) \[PASS] test\_removeCollateral\_failWhenPaused() (gas: 32167) \[PASS] test\_removeLoanImpairment\_acl() (gas: 75813) \[PASS] test\_removeLoanImpairment\_failWhenPaused() (gas: 31365) \[PASS] test\_removeLoanImpairment\_notImpaired() (gas: 32232) \[PASS] test\_removeLoanImpairment\_pastDate() (gas: 54479) \[PASS] test\_removeLoanImpairment\_success() (gas: 61130) \[PASS] test\_repossess\_acl() (gas: 1418198) \[PASS] test\_repossess\_failWhenPaused() (gas: 32369) \[PASS] test\_returnFunds\_failWhenPaused() (gas: 32052) \[PASS] test\_returnFunds\_pullPattern() (gas: 1450503) \[PASS] test\_returnFunds\_pushPattern() (gas: 1400010) \[PASS] test\_setImplementation\_acl() (gas: 110497) \[PASS] test\_setImplementation\_failWhenPaused() (gas: 31853) \[PASS] test\_setPendingBorrower\_acl\_asBorrower() (gas: 102548) \[PASS] test\_setPendingBorrower\_acl\_asBorrowerActions() (gas: 106470) \[PASS] test\_setPendingBorrower\_failWhenPaused() (gas: 31744) \[PASS] test\_setPendingLender\_acl() (gas: 73701) \[PASS] test\_setPendingLender\_failWhenPaused() (gas: 31789) \[PASS] test\_skim\_failWhenPaused() (gas: 32387) \[PASS] test\_upgrade\_acl\_noAuth() (gas: 6588831) \[PASS] test\_upgrade\_acl\_noAuth\_asBorrower() (gas: 6591643) \[PASS] test\_upgrade\_acl\_securityAdmin() (gas: 6623456) \[PASS] test\_upgrade\_failWhenPaused() (gas: 32122) Suite result: ok. 77 passed; 0 failed; 0 skipped; finished in 42.06ms (43.23ms CPU time)
Ran 3 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_CollateralMaintainedTests \[PASS] test\_isCollateralMaintained(uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 125134, \~: 125743) \[PASS] test\_isCollateralMaintained\_edgeCases() (gas: 194733) \[PASS] test\_isCollateralMaintained\_roundUp() (gas: 85461) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 88.45ms (87.47ms CPU time)
Ran 3 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_ProposeNewTermsTests \[PASS] test\_proposeNewTerms(address,uint256,uint256,uint256,uint256) (runs: 256, μ: 81660, \~: 82002) \[PASS] test\_proposeNewTerms\_emptyArray(address,uint256) (runs: 256, μ: 38534, \~: 38876) \[PASS] test\_proposeNewTerms\_invalidRefinancer() (gas: 83520) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 220.98ms (219.65ms CPU time)
Ran 5 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_RejectNewTermsTests \[PASS] test\_rejectNewTerms() (gas: 65210) \[PASS] test\_rejectNewTerms\_commitmentMismatch\_emptyCallsArray() (gas: 75642) \[PASS] test\_rejectNewTerms\_commitmentMismatch\_mismatchedCalls() (gas: 77254) \[PASS] test\_rejectNewTerms\_commitmentMismatch\_mismatchedDeadline() (gas: 77168) \[PASS] test\_rejectNewTerms\_commitmentMismatch\_mismatchedRefinancer() (gas: 729562) Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 3.31ms (1.90ms CPU time)
\[PASS] test\_getNextPaymentBreakdown(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 720082, \~: 721434) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 266.73ms (265.58ms CPU time)
Ran 6 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_GetPaymentBreakdownTests \[PASS] test\_getPaymentBreakdown\_onePaymentFourPeriodsLate() (gas: 38327) \[PASS] test\_getPaymentBreakdown\_onePaymentOnePeriodBeforeDue() (gas: 35252) \[PASS] test\_getPaymentBreakdown\_onePaymentOnePeriodLate() (gas: 38349) \[PASS] test\_getPaymentBreakdown\_onePaymentOneSecondBeforeDue() (gas: 35317) \[PASS] test\_getPaymentBreakdown\_onePaymentThreePeriodsLate() (gas: 38282) \[PASS] test\_getPaymentBreakdown\_onePaymentTwoPeriodsLate() (gas: 38304) Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 2.36ms (1.41ms CPU time)
\[PASS] test\_getPeriodicInterestRate() (gas: 10439) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 1.04ms (109.04µs CPU time)
Ran 3 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_GetInstallmentTests \[PASS] test\_getInstallment\_edgeCases() (gas: 28426) \[PASS] test\_getInstallment\_genericFuzzing(uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 18854, \~: 19125) \[PASS] test\_getInstallment\_withFixtures() (gas: 14280) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 72.54ms (71.53ms CPU time)
\[PASS] test\_getInterest() (gas: 11818) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 964.85µs (109.24µs CPU time)
Ran 9 tests for tests/MapleLoanFactory.t.sol:MapleLoanFactoryTest \[PASS] test\_createInstance(bytes32) (runs: 256, μ: 553111, \~: 553111) \[PASS] test\_createInstance\_differentFundsAsset() (gas: 774574) \[PASS] test\_createInstance\_invalidCaller() (gas: 553933) \[PASS] test\_createInstance\_invalidCollateralAsset() (gas: 746602) \[PASS] test\_createInstance\_invalidFactory() (gas: 778525) \[PASS] test\_createInstance\_invalidInstance() (gas: 784465) \[PASS] test\_createInstance\_invalidPoolAsset() (gas: 742867) \[PASS] test\_createInstance\_zeroLender() (gas: 770287) \[PASS] test\_isLoan\_withOldFactory() (gas: 1087316) Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 533.07ms (526.54ms CPU time)
\[PASS] test\_getClosingPaymentBreakdown(uint256,uint256,uint256) (runs: 256, μ: 9020008, \~: 9020028) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 598.50ms (591.31ms CPU time)
\[PASS] test\_getCollateralRequiredFor() (gas: 21550) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 1.13ms (223.02µs CPU time)
Ran 3 tests for tests/MapleLoanScenarios.t.sol:MapleLoanScenariosTests \[PASS] test\_scenario\_fullyAmortized() (gas: 9545692) \[PASS] test\_scenario\_interestOnly() (gas: 9530408) \[PASS] test\_scenario\_lateLoanRefinanceInterest() (gas: 9218314) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 38.67ms (28.55ms CPU time)
Ran 3 tests for tests/MapleLoanV502Migrator.t.sol:MapleLoanV502MigratorTests \[PASS] test\_migration\_factoryChange() (gas: 2982041) \[PASS] test\_migration\_invalidFactory() (gas: 2957110) \[PASS] test\_migration\_sameFactory\_noOp() (gas: 2947582) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 10.37ms (2.74ms CPU time)
Ran 2 tests for tests/Payments.t.sol:ClosingTests \[PASS] test\_payments\_closing\_flatRate\_case1() (gas: 1422472) \[PASS] test\_payments\_closing\_flatRate\_case2() (gas: 1277212) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 17.19ms (14.04ms CPU time)
Ran 2 tests for tests/Payments.t.sol:FullyAmortizedPaymentsTests \[PASS] test\_payments\_fullyAmortized\_case1() (gas: 1690175) \[PASS] test\_payments\_fullyAmortized\_case2() (gas: 1690124) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 27.42ms (24.06ms CPU time)
Ran 6 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_DrawdownFundsTests \[PASS] test\_drawdownFunds\_collateralNotMaintained(uint256,uint256,uint256) (runs: 256, μ: 272370, \~: 273976) \[PASS] test\_drawdownFunds\_insufficientDrawableFunds(uint256,uint256) (runs: 256, μ: 157630, \~: 157795) \[PASS] test\_drawdownFunds\_multipleDrawdowns(uint256,uint256,uint256) (runs: 256, μ: 278647, \~: 278241) \[PASS] test\_drawdownFunds\_postedCollateral(uint256,uint256,uint256) (runs: 256, μ: 293779, \~: 294765) \[PASS] test\_drawdownFunds\_transferFailed() (gas: 55653) \[PASS] test\_drawdownFunds\_withoutPostedCollateral(uint256,uint256) (runs: 256, μ: 198354, \~: 199201) Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 822.37ms (820.45ms CPU time)
Ran 2 tests for tests/Payments.t.sol:InterestOnlyPaymentsTests \[PASS] test\_payments\_interestOnly\_case1() (gas: 1705799) \[PASS] test\_payments\_interestOnly\_case2() (gas: 1706053) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 28.65ms (25.20ms CPU time)
Ran 3 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_SkimTests \[PASS] test\_skimCollateralAsset() (gas: 84661) \[PASS] test\_skimFundsAsset() (gas: 84683) \[PASS] test\_skim\_otherAsset() (gas: 1367889) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 7.42ms (1.21ms CPU time)
\[PASS] test\_refinance\_invalidRefinancer() (gas: 9183149) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 5.65ms (3.01ms CPU time)
Ran 5 tests for tests/Payments.t.sol:LateRepaymentsTests \[PASS] test\_payments\_dailyInterestAccrual() (gas: 1067402) \[PASS] test\_payments\_lateRepayment\_flatRateAndDefaultRate\_case1() (gas: 1695211) \[PASS] test\_payments\_lateRepayment\_flatRateAndDefaultRate\_case2() (gas: 1704178) \[PASS] test\_payments\_lateRepayment\_flatRate\_case1() (gas: 1696594) \[PASS] test\_payments\_lateRepayment\_flatRate\_case2() (gas: 1692266) Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 69.54ms (65.88ms CPU time)
Ran 2 tests for tests/Payments.t.sol:PartiallyAmortizedPaymentsTests \[PASS] test\_payments\_partiallyAmortized\_case1() (gas: 1706028) \[PASS] test\_payments\_partiallyAmortized\_case2() (gas: 1706061) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 39.64ms (24.54ms CPU time)
Ran 12 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_GetUnaccountedAmountTests \[PASS] test\_getUnaccountedAmount\_collateral(uint256,uint256) (runs: 256, μ: 90995, \~: 91305) \[PASS] test\_getUnaccountedAmount\_collateralAsset() (gas: 81295) \[PASS] test\_getUnaccountedAmount\_complex(uint256,uint256,uint256) (runs: 256, μ: 1391776, \~: 1392099) \[PASS] test\_getUnaccountedAmount\_drawableFunds(uint256,uint256) (runs: 256, μ: 90849, \~: 91174) \[PASS] test\_getUnaccountedAmount\_drawableFundsAndAndCollateral(uint256,uint256,uint256,uint256) (runs: 256, μ: 172930, \~: 172822) \[PASS] test\_getUnaccountedAmount\_drawableFundsAndAndCollateral\_fundsAssetEqCollateralAsset(uint256,uint256,uint256) (runs: 256, μ: 119968, \~: 120134) \[PASS] test\_getUnaccountedAmount\_fundsAsset() (gas: 81296) \[PASS] test\_getUnaccountedAmount\_newFundsLtCollateral(uint256) (runs: 256, μ: 108943, \~: 108937) \[PASS] test\_getUnaccountedAmount\_newFundsLtDrawableFunds(uint256) (runs: 256, μ: 108973, \~: 108967) \[PASS] test\_getUnaccountedAmount\_randomToken() (gas: 121430) \[PASS] test\_getUnaccountedAmount\_withCollateral(uint256,uint256) (runs: 256, μ: 88816, \~: 89934) \[PASS] test\_getUnaccountedAmount\_withDrawableFunds(uint256,uint256) (runs: 256, μ: 89170, \~: 89805) Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 913.34ms (911.56ms CPU time)
Ran 9 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_InitializeTests \[PASS] test\_initialize() (gas: 8994403) \[PASS] test\_initialize\_invalidBorrower() (gas: 2103947) \[PASS] test\_initialize\_invalidEndingPrincipal() (gas: 2067093) \[PASS] test\_initialize\_invalidGracePeriodBoundary() (gas: 10976912) \[PASS] test\_initialize\_invalidOriginationFeeBoundary() (gas: 10977872) \[PASS] test\_initialize\_invalidPaymentInterval() (gas: 2073638) \[PASS] test\_initialize\_invalidPaymentsRemaining() (gas: 2073628) \[PASS] test\_initialize\_invalidPrincipal() (gas: 2066887) \[PASS] test\_initialize\_zeroBorrower() (gas: 2077679) Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 23.72ms (21.76ms CPU time)
Ran 11 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_RemoveCollateralTests \[PASS] test\_removeCollateral\_cannotRemoveAnyAmountWithEncumbrances() (gas: 200434) \[PASS] test\_removeCollateral\_cannotRemoveFullAmountWithEncumbrances(uint256) (runs: 256, μ: 160980, \~: 160974) \[PASS] test\_removeCollateral\_cannotRemovePartialAmountWithEncumbrances(uint256,uint256) (runs: 256, μ: 201904, \~: 202261) \[PASS] test\_removeCollateral\_fullAmountWithNoEncumbrances(uint256) (runs: 256, μ: 125157, \~: 125161) \[PASS] test\_removeCollateral\_fullAmount\_drawableFundsGtPrincipal(uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 191352, \~: 191925) \[PASS] test\_removeCollateral\_fullAmount\_noPrincipal(uint256) (runs: 256, μ: 144432, \~: 144420) \[PASS] test\_removeCollateral\_insufficientCollateralWithNoEncumbrances(uint256) (runs: 256, μ: 120690, \~: 121623) \[PASS] test\_removeCollateral\_partialAmountWithEncumbrances(uint256,uint256) (runs: 256, μ: 250697, \~: 250326) \[PASS] test\_removeCollateral\_partialAmountWithNoEncumbrances(uint256,uint256) (runs: 256, μ: 161657, \~: 163261) \[PASS] test\_removeCollateral\_sameAssetAsFundingAsset(uint256) (runs: 256, μ: 149054, \~: 149042) \[PASS] test\_removeCollateral\_transferFailed() (gas: 295978) Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 1.34s (1.33s CPU time)
Ran 7 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_RepossessTests \[PASS] test\_repossess() (gas: 151946) \[PASS] test\_repossess\_beforePaymentDue() (gas: 57119) \[PASS] test\_repossess\_collateralTransferFailed() (gas: 310751) \[PASS] test\_repossess\_fundsTransferFailed() (gas: 343461) \[PASS] test\_repossess\_onGracePeriod() (gas: 57135) \[PASS] test\_repossess\_onPaymentDue() (gas: 56881) \[PASS] test\_repossess\_withinGracePeriod() (gas: 57090) Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 5.91ms (2.05ms CPU time)
Ran 2 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_ReturnFundsTests \[PASS] test\_returnFunds(uint256) (runs: 256, μ: 129406, \~: 130551) \[PASS] test\_returnFundsCollateralAsset() (gas: 1389958) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 141.74ms (140.18ms CPU time)
Ran 2 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_ScaledExponentTests \[PASS] test\_scaledExponent\_setOne() (gas: 40312) \[PASS] test\_scaledExponent\_setTwo() (gas: 71120) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 2.43ms (1.31ms CPU time)
\[PASS] test\_refinance\_gracePeriod(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 9383458, \~: 9386113) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 1.25s (1.24s CPU time)
Ran 2 tests for tests/MapleLoanRefinancer.t.sol:RefinancePaymentIntervalTests \[PASS] test\_refinance\_paymentInterval(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 9386937, \~: 9388376) \[PASS] test\_refinance\_paymentInterval\_zeroAmount() (gas: 9335233) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.19s (1.19s CPU time)
\[PASS] test\_refinance\_multipleParameters(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 9452332, \~: 9449058) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 1.69s (1.69s CPU time)
\[PASS] test\_refinance\_interestRate(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 9385115, \~: 9386617) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 1.15s (1.15s CPU time)
\[PASS] test\_acceptNewTerms\_makePayment\_withRefinanceInterest() (gas: 9444394) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 28.99ms (15.16ms CPU time)
Ran 4 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_PostCollateralTests \[PASS] test\_postCollateral\_invalidCollateralAsset() (gas: 1363482) \[PASS] test\_postCollateral\_multiple(uint256,uint256) (runs: 256, μ: 178416, \~: 182453) \[PASS] test\_postCollateral\_once(uint256) (runs: 256, μ: 104534, \~: 105228) \[PASS] test\_postCollateral\_withUnaccountedFundsAsset() (gas: 1452457) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 446.17ms (445.01ms CPU time)
Ran 8 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_MakePaymentTests \[PASS] test\_makePayment(uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 390057, \~: 391499) \[PASS] test\_makePayment\_amountSmallerThanFees() (gas: 490322) \[PASS] test\_makePayment\_collateralNotMaintained() (gas: 874527) \[PASS] test\_makePayment\_insufficientAmount(uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 417453, \~: 418668) \[PASS] test\_makePayment\_lastPaymentClearsLoan(uint256,uint256,uint256,uint256) (runs: 256, μ: 368044, \~: 368756) \[PASS] test\_makePayment\_noAmount() (gas: 480843) \[PASS] test\_makePayment\_withDrawableFunds(uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 394133, \~: 396134) \[PASS] test\_makePayment\_withRefinanceInterest(uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 375270, \~: 375481)프로젝트로 돌아가기