Ethereum smart contract fuzzer
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.
 
 
 
 
 
echidna/tests/solidity/values/constants.sol

19 lines
445 B

contract Constants {
bool found = false;
bool found_large = false;
function find(int i) public {
if (i == 1447) { found = true; }
if (i == 133700000000) { found = false; }
if (i == 11234567890123456789012345678901234560) { found_large = true; }
}
function echidna_found() public view returns (bool) {
return(!found);
}
function echidna_found_large() public view returns (bool) {
return(!found_large);
}
}