From d4b41808ad3e0a5a5a721626ed39e9ab773954e1 Mon Sep 17 00:00:00 2001 From: Trevor Richard Date: Tue, 3 Oct 2023 20:13:31 +0000 Subject: [PATCH] improve contribution over skipped draw test --- test/PrizePool.t.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/PrizePool.t.sol b/test/PrizePool.t.sol index 57a6631..9a8c120 100644 --- a/test/PrizePool.t.sol +++ b/test/PrizePool.t.sol @@ -358,6 +358,8 @@ contract PrizePoolTest is Test { closeDraw(1234); // check if tier liquidity includes contribution from draws 1 + 2 + assertEq(prizePool.getTotalContributedBetween(1, 1), 31e18); + assertApproxEqAbs(prizePool.getTotalContributedBetween(2, 2), 279e17, 10000); assertApproxEqAbs(prizePool.getTierRemainingLiquidity(0), 10e18 + 9e18, 10000); }