@@ -34,13 +34,13 @@ contract ERC4626AdapterTest is Test {
3434 share.setSpender (address (vault));
3535 }
3636
37- function test_invariantMetadata () public view {
37+ function test_erc4626_invariantMetadata () public view {
3838 assertEq (vault.name (), SHARE_NAME);
3939 assertEq (vault.symbol (), SHARE_SYMBOL);
4040 assertEq (vault.decimals (), 18 );
4141 }
4242
43- function test_Metadata (string calldata name , string calldata symbol ) public {
43+ function test_erc4626_Metadata (string calldata name , string calldata symbol ) public {
4444 address shareAddress = address (new MockERC20MintBurn (name, symbol));
4545 MockERC4626Adapter vlt = new MockERC4626Adapter (address (asset), shareAddress);
4646 assertEq (vlt.name (), name);
@@ -49,7 +49,7 @@ contract ERC4626AdapterTest is Test {
4949 assertEq (address (vlt.share ()), shareAddress);
5050 }
5151
52- function testFuzz_SingleDepositWithdraw (uint128 amount ) public {
52+ function testFuzz_erc4626_SingleDepositWithdraw (uint128 amount ) public {
5353 if (amount == 0 ) amount = 1 ;
5454
5555 uint256 aliceassetAmount = amount;
@@ -93,7 +93,7 @@ contract ERC4626AdapterTest is Test {
9393 assertEq (asset.balanceOf (alice), alicePreDepositBal);
9494 }
9595
96- function testFuzz_SingleMintRedeem (uint128 amount ) public {
96+ function testFuzz_erc4626_SingleMintRedeem (uint128 amount ) public {
9797 if (amount == 0 ) amount = 1 ;
9898
9999 uint256 aliceShareAmount = amount;
@@ -130,7 +130,7 @@ contract ERC4626AdapterTest is Test {
130130 assertEq (asset.balanceOf (alice), alicePreDepositBal);
131131 }
132132
133- function testMultipleMintDepositRedeemWithdraw () public {
133+ function test_erc4626_MultipleMintDepositRedeemWithdraw () public {
134134 // Scenario:
135135 // A = Alice, B = Bob
136136 // ________________________________________________________
@@ -346,7 +346,7 @@ contract ERC4626AdapterTest is Test {
346346 assertEq (asset.balanceOf (address (vault)), 0 );
347347 }
348348
349- function test_FailDepositWithNotEnoughApproval () public {
349+ function test_erc4626_FailDepositWithNotEnoughApproval () public {
350350 asset.mint (address (this ), 0.5e18 );
351351 asset.approve (address (vault), 0.5e18 );
352352 assertEq (asset.allowance (address (this ), address (vault)), 0.5e18 );
@@ -357,7 +357,7 @@ contract ERC4626AdapterTest is Test {
357357 vault.deposit (1e18 , address (this ));
358358 }
359359
360- function test_FailWithdrawExceedsMaxWithdraw () public {
360+ function test_erc4626_FailWithdrawExceedsMaxWithdraw () public {
361361 asset.mint (address (this ), 0.5e18 );
362362 asset.approve (address (vault), 0.5e18 );
363363
@@ -369,7 +369,7 @@ contract ERC4626AdapterTest is Test {
369369 vault.withdraw (1e18 , address (this ), address (this ));
370370 }
371371
372- function test_FailRedeemWithNotEnoughShareAmount () public {
372+ function test_erc4626_FailRedeemWithNotEnoughShareAmount () public {
373373 asset.mint (address (this ), 0.5e18 );
374374 asset.approve (address (vault), 0.5e18 );
375375
@@ -381,35 +381,35 @@ contract ERC4626AdapterTest is Test {
381381 vault.redeem (1e18 , address (this ), address (this ));
382382 }
383383
384- function test_FailWithdrawWithNoassetAmount () public {
384+ function test_erc4626_FailWithdrawWithNoassetAmount () public {
385385 vm.expectRevert (
386386 abi.encodeWithSelector (IERC4626Adapter .ERC4626ExceededMaxWithdraw .selector , address (this ), 1e18 , 0 )
387387 );
388388 vault.withdraw (1e18 , address (this ), address (this ));
389389 }
390390
391- function test_FailRedeemWithNoShareAmount () public {
391+ function test_erc4626_FailRedeemWithNoShareAmount () public {
392392 vm.expectRevert (
393393 abi.encodeWithSelector (IERC4626Adapter .ERC4626ExceededMaxRedeem .selector , address (this ), 1e18 , 0 )
394394 );
395395 vault.redeem (1e18 , address (this ), address (this ));
396396 }
397397
398- function test_FailDepositWithNoApproval () public {
398+ function test_erc4626_FailDepositWithNoApproval () public {
399399 vm.expectRevert (
400400 abi.encodeWithSelector (IERC20Errors .ERC20InsufficientAllowance .selector , address (vault), 0 , 1e18 )
401401 );
402402 vault.deposit (1e18 , address (this ));
403403 }
404404
405- function test_FailMintWithNoApproval () public {
405+ function test_erc4626_FailMintWithNoApproval () public {
406406 vm.expectRevert (
407407 abi.encodeWithSelector (IERC20Errors .ERC20InsufficientAllowance .selector , address (vault), 0 , 1e18 )
408408 );
409409 vault.mint (1e18 , address (this ));
410410 }
411411
412- function test_MintZero () public {
412+ function test_erc4626_MintZero () public {
413413 vault.mint (0 , address (this ));
414414
415415 assertEq (vault.balanceOf (address (this )), 0 );
@@ -418,7 +418,7 @@ contract ERC4626AdapterTest is Test {
418418 assertEq (vault.totalAssets (), 0 );
419419 }
420420
421- function test_WithdrawZero () public {
421+ function test_erc4626_WithdrawZero () public {
422422 vault.withdraw (0 , address (this ), address (this ));
423423
424424 assertEq (vault.balanceOf (address (this )), 0 );
0 commit comments