Skip to content

Commit

Permalink
add more ambiguous tests
Browse files Browse the repository at this point in the history
  • Loading branch information
trocher committed Jan 18, 2024
1 parent 6540133 commit 5744d71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/compiler/test_opcodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ def test_get_opcodes(evm_version):


def test_build_opcodes():
assert _build_opcodes(bytes.fromhex("610250")) == "PUSH2 0x0250"
assert _build_opcodes(bytes.fromhex("612500")) == "PUSH2 0x2500"
assert _build_opcodes(bytes.fromhex("610100")) == "PUSH2 0x0100"
assert _build_opcodes(bytes.fromhex("611000")) == "PUSH2 0x1000"
assert _build_opcodes(bytes.fromhex("62010300")) == "PUSH3 0x010300"
assert (
_build_opcodes(
Expand Down

0 comments on commit 5744d71

Please sign in to comment.