Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pragma solidity >=0.4.21 <0.6.0;
- import "truffle/Assert.sol";
- import "truffle/DeployedAddresses.sol";
- import "../contracts/Funding.sol";
- uint public initialBalance = 10 ether;
- Funding funding;
- function () external payable {}
- function beforeEach() public {
- funding = new Funding();
- }
- function testSettingAnOwnerDuringCreation() public {
- Assert.equal(funding.owner(), this, "Owner should be the same as deployer.");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement