diff options
author | iximeow <me@iximeow.net> | 2019-01-05 02:00:37 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-01-12 16:10:10 -0800 |
commit | 1186a66e8cc48f4c0c424fdfb63aa4f752db7166 (patch) | |
tree | edd319c190e8823ed3f48f9571cfc146306fad25 /test/lib_test.rs |
initial
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); +} |