-
Notifications
You must be signed in to change notification settings - Fork 25
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
add swap() tests for Pool 5 #160
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few minor changes and questions
let pool_case = POOL_CASES()[5]; | ||
let (success_swap_cases, panic_swap_cases) = SWAP_CASES_POOL_5(); | ||
let expected_cases = | ||
SWAP_EXPECTED_RESULTS_POOL_5(); //get random case, is never executed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the meaning of this?
//get random case, is never executed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was a comment that is no longer necessary, it has now been removed
This PR adds the swap tests corresponding to the Pool 5, resolving issue #166
Before resolving this PR, the original swap tests PR #152 should be resolved.