Provide input for two optimizer tests.

This commit is contained in:
chriseth 2018-02-20 18:03:39 +01:00
parent f5f00b4ee9
commit 3ba8af4fd5

View File

@ -175,7 +175,7 @@ BOOST_AUTO_TEST_CASE(constant_folding_both_sides)
} }
})"; })";
compileBothVersions(sourceCode); compileBothVersions(sourceCode);
compareVersions("f(uint256)"); compareVersions("f(uint256)", 7);
} }
BOOST_AUTO_TEST_CASE(storage_access) BOOST_AUTO_TEST_CASE(storage_access)
@ -190,7 +190,7 @@ BOOST_AUTO_TEST_CASE(storage_access)
} }
)"; )";
compileBothVersions(sourceCode); compileBothVersions(sourceCode);
compareVersions("f(uint256)"); compareVersions("f(uint256)", 7);
} }
BOOST_AUTO_TEST_CASE(array_copy) BOOST_AUTO_TEST_CASE(array_copy)