Code coverage for Solidity smart-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
solidity-coverage/test/sources/js/inheritance.js

12 lines
353 B

const Owned = artifacts.require('Owned');
const Proxy = artifacts.require('Proxy');
contract('Proxy', accounts => {
it('when one contract inherits from another', async function(){
const owned = await Owned.new();
const proxy = await Proxy.new();
const val = await proxy.isOwner({from: accounts[0]});
assert.equal(val, true);
})
8 years ago
});