Use "none" and "full" optimizer settings in the optimizer tests.

This commit is contained in:
chriseth
2019-03-20 16:11:37 +01:00
parent 2fd6661b09
commit d788a88873
5 changed files with 18 additions and 19 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ namespace test
u256 gasOpt{_gasOpt}; \
u256 gasNoOpt{_gasNoOpt}; \
u256 tolerance{_tolerance}; \
u256 gas = m_optimize ? gasOpt : gasNoOpt; \
u256 gas = m_optimiserSettings == OptimiserSettings::minimal() ? gasNoOpt : gasOpt; \
u256 diff = gas < m_gasUsed ? m_gasUsed - gas : gas - m_gasUsed; \
BOOST_CHECK_MESSAGE( \
diff <= tolerance, \