Skip to content

Commit

Permalink
Update test/units/EverlongERC4626.t.sol
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Towle <[email protected]>
  • Loading branch information
mcclurejt and jalextowle authored Aug 23, 2024
1 parent 4cc4951 commit dea4d2b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/units/EverlongERC4626.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ import { IEverlongEvents } from "../../contracts/interfaces/IEverlongEvents.sol"
contract TestEverlongERC4626 is EverlongTest {
/// @dev Validates behavior of the `deposit()` function for a single
/// depositor.
/// @dev When calling the `deposit()` function...
/// 1. The `Rebalanced` event should be emitted
/// 2. The balance of the Everlong contract should be minimal.
/// 3. The share amount issued to the depositor should be equal to the
/// @dev When calling the `deposit()` function...
/// 1. The `Rebalanced` event should be emitted
/// 2. The balance of the Everlong contract should be minimal.
/// 3. The share amount issued to the depositor should be equal to the
/// total supply of Everlong shares.
/// 4. The amount of assets deposited should relate to the share
/// 4. The amount of assets deposited should relate to the share
/// count as follows:
/// shares_issued = assets_deposited * (10 ^ decimalsOffset)
function test_deposit_single_depositor() external {
Expand Down

0 comments on commit dea4d2b

Please sign in to comment.