Skip to content

Commit

Permalink
Remove test without any asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
af-afk committed Aug 14, 2024
1 parent 7283038 commit 9b21732
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions web/__tests__/01_lib_math/002_delta.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,4 @@ describe("Liquidity math", () => {
expect(getSqrtRatioAtTick(BigInt(MIN_TICK))).toEqual(MIN_SQRT_RATIO);
expect(getSqrtRatioAtTick(BigInt(MAX_TICK))).toEqual(MAX_SQRT_RATIO);
});

it("Should convert liquidity to amounts correctly", () => {
const [amount0, amount1] = getAmountsForLiquidity(
encodeSqrtPrice(1), // sqrtRatioX96
encodeSqrtPrice(0.9090909090909091), // sqrtRatioAX96
encodeSqrtPrice(1.1), // sqrtRatioBX96
2148n, // liquidity
);
});
});

0 comments on commit 9b21732

Please sign in to comment.