v4-core
v4-core copied to clipboard
Add Tests for maxUsableTick and minUsableTick Functions
@hensha256 @aadams Following up on the stale PR: https://github.com/Uniswap/v4-core/pull/468
This commit introduces tests for the newly added utility functions maxUsableTick
and minUsableTick
in the TickMath library.
Added tests to check the min and max usable ticks in the TickMath
library.
Added 2 tests to check tick spacings for popular fee tiers.
Added 2 fuzzing tests.
Added 2 tests to check revert of min/max tick on 0.
@hensha256