pr9.2
This commit is contained in:
@@ -12,8 +12,8 @@ fn vm_instantiation_is_stable() {
|
||||
// Create a VM with empty ROM and empty constant pool.
|
||||
let vm = VirtualMachine::new(vec![], vec![]);
|
||||
// Basic invariant checks that should remain stable across refactors.
|
||||
assert_eq!(vm.pc, 0);
|
||||
assert!(!vm.halted);
|
||||
assert_eq!(vm.pc(), 0);
|
||||
assert!(!vm.is_halted());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user