Mercurial > paraspace
comparison paraspace/tests/dalvik_opcodes_test.py @ 143:c56c7cf32b88
Remove useless code
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 15 Aug 2011 10:08:43 +0800 |
parents | a33dfe2dae9d |
children |
comparison
equal
deleted
inserted
replaced
142:50d09eba5166 | 143:c56c7cf32b88 |
---|---|
15 insn = encode_inst(opv) | 15 insn = encode_inst(opv) |
16 assert insn == '\x6f\x10\x01\xa6\x01\x00' | 16 assert insn == '\x6f\x10\x01\xa6\x01\x00' |
17 | 17 |
18 opv = (0, ()) | 18 opv = (0, ()) |
19 insn = encode_inst(opv) | 19 insn = encode_inst(opv) |
20 print repr(insn) | |
21 assert insn == '\x00\x00' | 20 assert insn == '\x00\x00' |
22 pass | 21 pass |
23 | 22 |
24 | 23 |
25 def decode_inst_test(): | 24 def decode_inst_test(): |