MCPcopy Index your code
hub / github.com/endbasic/endbasic / test_exec_without_load_is_eof

Function test_exec_without_load_is_eof

core/src/vm/mod.rs:691–698  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 1

execMethod · 0.45

Tested by

no test coverage detected