Skip to content

Commit a2a36da

Browse files
committed
fmt
1 parent 5048fc6 commit a2a36da

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

test/PreserveNav.t.sol

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,26 @@ contract PreserveNav is MaglevTestBase {
3939
maglev.configure();
4040
}
4141

42-
43-
44-
function test_preserve_nav(uint256 cx, uint256 cy, uint256 fee, bool preSkimDir, bool dir1, uint256 amount1, bool skimOrder1, bool dir2, uint256 amount2, bool skimOrder2) public {
42+
function test_preserve_nav(
43+
uint256 cx,
44+
uint256 cy,
45+
uint256 fee,
46+
bool preSkimDir,
47+
bool dir1,
48+
uint256 amount1,
49+
bool skimOrder1,
50+
bool dir2,
51+
uint256 amount2,
52+
bool skimOrder2
53+
) public {
4554
cx = bound(cx, 0.1e18, 0.99e18);
4655
cy = bound(cy, 0.1e18, 0.99e18);
4756
fee = bound(fee, 0, 0.2e18);
4857
amount1 = bound(amount1, 0.00001e18, 25e18);
4958
amount2 = bound(amount2, 0.00001e18, 25e18);
5059

5160
if (fee < 0.1e18) fee = 0; // half of the time use fee 0
61+
5262
else fee -= 0.1e18;
5363

5464
createMaglev(50e18, 50e18, fee, 1e18, 1e18, cx, cy);
@@ -93,8 +103,6 @@ contract PreserveNav is MaglevTestBase {
93103
assertGe(getHolderNAV(), nav1);
94104
}
95105

96-
97-
98106
function _skimAll(bool dir) public returns (uint256) {
99107
uint256 skimmed = 0;
100108
uint256 val = 1;

0 commit comments

Comments
 (0)