Skip to content

bigz/expand-rust-test-suite#2

Open
0xbigz wants to merge 2 commits intojoebuild:masterfrom
ansatz-research:master
Open

bigz/expand-rust-test-suite#2
0xbigz wants to merge 2 commits intojoebuild:masterfrom
ansatz-research:master

Conversation

@0xbigz
Copy link

@0xbigz 0xbigz commented Mar 1, 2024

This PR enhances testing for Amm across various scenarios

in addition to the anchor bankrun end-to-end tests, this adds cargo tests to enable comprehensive testing of mathematical/logical aspects, particularly regarding round errors. Moreover, it replaces simple asserts with a validation macro to facilitate logging state and handling expected errors in the test suite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant