mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Big fixes.
This commit is contained in:
parent
be45d11e4c
commit
882b8ad089
@ -214,10 +214,10 @@ BOOST_AUTO_TEST_CASE(unary_operators)
|
|||||||
byte(eth::Instruction::SUB),
|
byte(eth::Instruction::SUB),
|
||||||
byte(eth::Instruction::PUSH1), 0x0,
|
byte(eth::Instruction::PUSH1), 0x0,
|
||||||
byte(eth::Instruction::SUB),
|
byte(eth::Instruction::SUB),
|
||||||
byte(eth::Instruction::BNOT),
|
byte(eth::Instruction::NOT),
|
||||||
byte(eth::Instruction::PUSH1), 0x2,
|
byte(eth::Instruction::PUSH1), 0x2,
|
||||||
byte(eth::Instruction::EQ),
|
byte(eth::Instruction::EQ),
|
||||||
byte(eth::Instruction::NOT)});
|
byte(eth::Instruction::ISZERO)});
|
||||||
BOOST_CHECK_EQUAL_COLLECTIONS(code.begin(), code.end(), expectation.begin(), expectation.end());
|
BOOST_CHECK_EQUAL_COLLECTIONS(code.begin(), code.end(), expectation.begin(), expectation.end());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user