Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMM Unit tests: rounding down of equal asset deposit LPToken calculation #4982

Merged
merged 12 commits into from
Apr 18, 2024
46 changes: 23 additions & 23 deletions src/test/app/AMM_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4934,30 +4934,30 @@ struct AMM_test : public jtx::AMMTest
void
testCore()
{
testInvalidInstance();
testInstanceCreate();
testInvalidDeposit();
// testInvalidInstance();
// testInstanceCreate();
// testInvalidDeposit();
testDeposit();
testInvalidWithdraw();
testWithdraw();
testInvalidFeeVote();
testFeeVote();
testInvalidBid();
testBid();
testInvalidAMMPayment();
testBasicPaymentEngine();
testAMMTokens();
testAmendment();
testFlags();
testRippling();
testAMMAndCLOB();
testTradingFee();
testAdjustedTokens();
testAutoDelete();
testClawback();
testAMMID();
testSelection();
testFixDefaultInnerObj();
// testInvalidWithdraw();
// testWithdraw();
// testInvalidFeeVote();
// testFeeVote();
// testInvalidBid();
// testBid();
// testInvalidAMMPayment();
// testBasicPaymentEngine();
// testAMMTokens();
// testAmendment();
// testFlags();
// testRippling();
// testAMMAndCLOB();
// testTradingFee();
// testAdjustedTokens();
// testAutoDelete();
// testClawback();
// testAMMID();
// testSelection();
// testFixDefaultInnerObj();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why comment out all of the tests?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my bad, fixed it

}

void
Expand Down
Loading