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/cli/PureView.sol

15 lines
287 B

pragma experimental "v0.5.0";
contract PureView {
// Make sure we aren't corrupting anything with the replace
uint notpureview = 5;
function isPure(uint a, uint b) pure returns (uint){
return a * b;
}
function isView() view returns (uint){
return notpureview;
}
}