Created
March 19, 2020 00:05
-
-
Save yurenju/dc79c4cd9051ac3c6c6efd93bab51e48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const SKEToken = artifacts.require("SKEToken"); | |
contract("2nd SKEToken test", async ([deployer, user1]) => { | |
it("should put 10000 SKEToken in the first account", async () => { | |
const token = await SKEToken.new(10000, { from: deployer }); | |
let balance = await token.balanceOf(deployer); | |
assert.equal(balance.valueOf(), 10000); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment