Make all tests not output anything
This commit is contained in:
@@ -10,6 +10,7 @@ fn test_create_from_slice() {
|
||||
File::open("files/task1/program1.ijvm").unwrap().read_to_end(&mut vec).unwrap();
|
||||
|
||||
let machine = rustijvm::Machine::new_from_slice(&vec).unwrap();
|
||||
|
||||
assert_eq!(machine.block.len(), 7);
|
||||
assert_eq!(machine.block[0], 0x10); // BIPUSH
|
||||
assert_eq!(machine.block[2], 0x10); // BIPUSH
|
||||
|
||||
Reference in New Issue
Block a user