diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test.rs b/test/test.rs index 45ec234..431a349 100644 --- a/test/test.rs +++ b/test/test.rs @@ -1,9 +1,10 @@ extern crate yaxpeax_arch; extern crate yaxpeax_mips; -use yaxpeax_arch::{Arch, Decoder, LengthedInstruction}; -use yaxpeax_mips::{MIPS, Instruction, Opcode}; +use yaxpeax_arch::{Arch, Decoder}; +use yaxpeax_mips::{MIPS, Instruction}; //, Opcode}; +#[allow(dead_code)] fn test_decode(data: [u8; 4], expected: Instruction) { let instr = <MIPS as Arch>::Decoder::default().decode(data.to_vec()).unwrap(); assert!( |