diff options
Diffstat (limited to 'test/lib_test.rs')
-rw-r--r-- | test/lib_test.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lib_test.rs b/test/lib_test.rs new file mode 100644 index 0000000..946e67b --- /dev/null +++ b/test/lib_test.rs @@ -0,0 +1,6 @@ +#[test] +fn test_disasm() { + let mut instr = Instruction::invalid(); + arch::x86_64::instr::decode_one(&[0x33, 0xc0], &mut instr); + assert_eq!(1, 1); +} |