Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. pragma solidity >=0.4.21 <0.6.0;
  2.  
  3.  
  4. import "truffle/Assert.sol";
  5. import "truffle/DeployedAddresses.sol";
  6. import "../contracts/Funding.sol";
  7.  
  8. uint public initialBalance = 10 ether;
  9. Funding funding;
  10.  
  11. function () external payable {}
  12.  
  13. function beforeEach() public {
  14. funding = new Funding();
  15. }
  16.  
  17. function testSettingAnOwnerDuringCreation() public {
  18. Assert.equal(funding.owner(), this, "Owner should be the same as deployer.");
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement