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/account-zero.js

10 lines
325 B

const Simple = artifacts.require('Simple');
contract('Simple', () => {
it('should use 0x42ecc9ab31d7c0240532992682ee3533421dd7f5', async function(){
const simple = await Simple.new()
const result = await simple.test(5);
assert.equal(result.receipt.from, "0x42ecc9ab31d7c0240532992682ee3533421dd7f5")
});
});