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/integration/projects/hardhat-reset/contracts/ContractAReset.sol

27 lines
346 B

pragma solidity ^0.7.0;
contract ContractA {
uint x;
constructor() public {
}
function sendFn() public {
x = 1;
}
function sendFn2() public {
x = 2;
}
function callFn() public pure returns (uint){
uint y = 5;
return y;
}
function callFn2() public pure returns (uint){
uint y = 5;
return y;
}
}