Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect variable ordering and test
position.rs
(#10)
* Fixed incorrect variable ordering and added comprehensive tests in `position.rs` Corrected the order of `sqrt_ratio_x96_upper` and `sqrt_ratio_x96_lower` in both `mint_amounts_with_slippage` and `burn_amounts_with_slippage` methods in `position.rs`. Added a variety of tests to ensure these methods function as expected under different conditions, including min/max pool price and different position scenarios. * Make clippy happy * Address comment
- Loading branch information