mirror of https://github.com/ConsenSys/mythril
parent
26a77cf525
commit
2193aeacb8
@ -1,10 +0,0 @@ |
||||
from unittest import TestCase |
||||
|
||||
from mythril.ether import asm, util |
||||
|
||||
class AsmTestCase(TestCase): |
||||
|
||||
def test_disassemble(self): |
||||
code = util.safe_decode("0x6060") |
||||
instruction_list = asm.disassemble(code) |
||||
self.assertEqual(instruction_list, [{'address': 0, 'opcode': 'PUSH1', 'argument': '0x60'}]) |
Loading…
Reference in new issue