Files
manticore/tests/binaries/701.sol
Mark Mossberg d0f69c755c Add ethereum regression tests (#763)
* Clean some unused variables

* Add basic infrastructure

* Add real eth regression tests

* Use check_call

* Suppress stdout

* Make 705 work

* Less error prone way of testing
2018-02-22 13:04:01 -08:00

11 lines
170 B
Solidity

contract C {
function reveal(uint x, bytes32 hash) returns (bool) {
if (sha3(x) == hash) {
return true;
}
return false;
}
}