curvefi / stableswap-ng

Automatic Market Maker (AMM) for 2 or more pegged assets, written in Vyper.
Other
34 stars 15 forks source link

Refactored tests #55

Closed heswithme closed 4 days ago

heswithme commented 2 months ago

Main Goal: Make all tests pass. Ways to achieve: Go through each failing test and figure out failure reason, attempt to fix Files changed: Almost every test_*.py was altered in one way or another, some more, some less.

List of changes:

This PR ensures the existing test suite passes, while not explicitly introducing new test functions/scenarios.

Comparison One of initial test run reports vs. Latest test run report Significant increase in test amounts is related to enabling extensive token pair search (i.e. plain+rebasing != rebasing+plain).

Expected improvement:

image