()
| 689 | |
| 690 | #[test] |
| 691 | fn test_exec_without_load_is_eof() { |
| 692 | let mut vm = Vm::new(HashMap::default()); |
| 693 | let image = Image::default(); |
| 694 | match vm.exec(&image) { |
| 695 | StopReason::Eof => (), |
| 696 | _ => panic!("Unexpected stop reason"), |
| 697 | } |
| 698 | } |
| 699 | |
| 700 | #[test] |
| 701 | fn test_exec_empty_image_is_eof() { |