Skip to content

Commit

Permalink
fix: failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Jan 22, 2024
1 parent d70a071 commit 2993da9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/unit/AssetManagedPair.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ contract AssetManagedPairTest is BaseTest {

function testMint_AfterLoss(uint256 aNewManagedBalance0, uint256 aNewManagedBalance1) external allPairs {
// assume
uint256 lNewManagedBalance0 = bound(aNewManagedBalance0, 1, 10e18);
uint256 lNewManagedBalance1 = bound(aNewManagedBalance1, 1, 10e18);
uint256 lNewManagedBalance0 = bound(aNewManagedBalance0, 1, 9e18);
uint256 lNewManagedBalance1 = bound(aNewManagedBalance1, 1, 9e18);

// arrange
vm.prank(address(_factory));
Expand All @@ -234,8 +234,8 @@ contract AssetManagedPairTest is BaseTest {

function testBurn_AfterLoss(uint256 aNewManagedBalance0, uint256 aNewManagedBalance1) external allPairs {
// assume
uint256 lNewManagedBalance0 = bound(aNewManagedBalance0, 1, 10e18);
uint256 lNewManagedBalance1 = bound(aNewManagedBalance1, 1, 10e18);
uint256 lNewManagedBalance0 = bound(aNewManagedBalance0, 1, 9e18);
uint256 lNewManagedBalance1 = bound(aNewManagedBalance1, 1, 9e18);

// arrange
vm.prank(address(_factory));
Expand All @@ -259,7 +259,7 @@ contract AssetManagedPairTest is BaseTest {

function testSwap_AfterLoss(uint256 aNewManagedBalance0) external allPairs {
// assume
uint256 lNewManagedBalance0 = bound(aNewManagedBalance0, 1, 10e18);
uint256 lNewManagedBalance0 = bound(aNewManagedBalance0, 1, 9e18);

// arrange
int256 lSwapAmt = 1e18;
Expand Down

0 comments on commit 2993da9

Please sign in to comment.