That’s it. IDK what else to tell ya.
use aoc19intcode::IntcodeVM; assert_eq!( IntcodeVM::from_prog(&[2, 4, 4, 5, 99, 0]) .run_prog() .unwrap()[5], 9801 );