Skip to content

Commit

Permalink
refactor test
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Dec 24, 2024
1 parent df68c21 commit 54d6921
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/concrete/ob/OrderBook.clear.mock.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,8 @@ contract OrderBookClearTest is OrderBookExternalMockTest {
uint256 aliceIORatio,
uint256 bobIORatio
) external {
// uint256 aliceAmount = 1e18;
// uint256 bobAmount = 1e18;

aliceIORatio = bound(aliceIORatio, 0.99e18, 1e18);
bobIORatio = bound(bobIORatio, 1e18, uint256(1e18).fixedPointDiv(aliceIORatio, Math.Rounding.Down));
// vm.assume(aliceIORatio.fixedPointMul(bobIORatio, Math.Rounding.Up) <= 1e18);

// Mock the interpreter.eval that is used inside clear().calculateOrderIO()
// Produce the stack output for OB
Expand Down

0 comments on commit 54d6921

Please sign in to comment.