diff options
author | Gav Wood <i@gavwood.com> | 2014-11-14 19:45:20 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-11-14 19:45:20 +0800 |
commit | 7e7204ec18bdeb0c6cf3f550cfb6d33b3c2ba45e (patch) | |
tree | 28d2b981c37b4393456af1a360b20a2d4062f170 /solidityEndToEndTest.cpp | |
parent | 2e794b55bd575c21c30b8c6bc342cd65f41569d3 (diff) | |
download | dexon-solidity-7e7204ec18bdeb0c6cf3f550cfb6d33b3c2ba45e.tar dexon-solidity-7e7204ec18bdeb0c6cf3f550cfb6d33b3c2ba45e.tar.gz dexon-solidity-7e7204ec18bdeb0c6cf3f550cfb6d33b3c2ba45e.tar.bz2 dexon-solidity-7e7204ec18bdeb0c6cf3f550cfb6d33b3c2ba45e.tar.lz dexon-solidity-7e7204ec18bdeb0c6cf3f550cfb6d33b3c2ba45e.tar.xz dexon-solidity-7e7204ec18bdeb0c6cf3f550cfb6d33b3c2ba45e.tar.zst dexon-solidity-7e7204ec18bdeb0c6cf3f550cfb6d33b3c2ba45e.zip |
Compile fixes.
Version bump.
Diffstat (limited to 'solidityEndToEndTest.cpp')
-rw-r--r-- | solidityEndToEndTest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/solidityEndToEndTest.cpp b/solidityEndToEndTest.cpp index 1d09c114..d905646c 100644 --- a/solidityEndToEndTest.cpp +++ b/solidityEndToEndTest.cpp @@ -192,11 +192,11 @@ BOOST_AUTO_TEST_CASE(multiple_functions) " function f() returns(uint n) { return 3; }\n" "}\n"; compileAndRun(sourceCode); - BOOST_CHECK(callFunction(0, bytes()) == toBigEndian(u256(0))); - BOOST_CHECK(callFunction(1, bytes()) == toBigEndian(u256(1))); - BOOST_CHECK(callFunction(2, bytes()) == toBigEndian(u256(2))); - BOOST_CHECK(callFunction(3, bytes()) == toBigEndian(u256(3))); - BOOST_CHECK(callFunction(4, bytes()) == bytes()); + BOOST_CHECK(callContractFunction(0, bytes()) == toBigEndian(u256(0))); + BOOST_CHECK(callContractFunction(1, bytes()) == toBigEndian(u256(1))); + BOOST_CHECK(callContractFunction(2, bytes()) == toBigEndian(u256(2))); + BOOST_CHECK(callContractFunction(3, bytes()) == toBigEndian(u256(3))); + BOOST_CHECK(callContractFunction(4, bytes()) == bytes()); } BOOST_AUTO_TEST_CASE(while_loop) @@ -232,7 +232,7 @@ BOOST_AUTO_TEST_CASE(break_outside_loop) " }\n" "}\n"; compileAndRun(sourceCode); - testSolidityAgainstCpp(0, [](u256 const& _a) -> u256 { return 2; }, u256(0)); + testSolidityAgainstCpp(0, [](u256 const&) -> u256 { return 2; }, u256(0)); } BOOST_AUTO_TEST_CASE(nested_loops) |