mirror of
https://github.com/vacp2p/minime.git
synced 2026-01-09 15:17:57 -05:00
add initial balances check
This commit is contained in:
@@ -922,6 +922,13 @@ contract TestSnapshotReads is MiniMeTokenTest {
|
||||
}
|
||||
|
||||
function testSnapshotReads() public {
|
||||
|
||||
assertEq(minimeToken.totalSupply(), 0, "initial total supply should be correct");
|
||||
assertEq(minimeToken.balanceOf(accounts[0]), 0, "initial balance of account 0 should be correct");
|
||||
assertEq(minimeToken.balanceOf(accounts[1]), 0, "initial balance of account 1 should be correct");
|
||||
assertEq(minimeToken.balanceOf(accounts[2]), 0, "initial balance of account 2 should be correct");
|
||||
assertEq(minimeToken.balanceOf(accounts[3]), 0, "initial balance of account 3 should be correct");
|
||||
|
||||
_generateTokens(accounts[0], 10);
|
||||
_generateTokens(accounts[1], 5);
|
||||
_generateTokens(accounts[2], 3);
|
||||
|
||||
Reference in New Issue
Block a user