MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / test_multiply

Function test_multiply

tests/integration/vm_execution.rs:836–849  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

834 console.putchar(65)
835 console.putchar(66)
836 console.putchar(67)
837 return 0
838}
839"#,
840 );
841 assert_eq!(uart, "ABC", "expected UART='ABC', got {uart:?}");
842 assert!(
843 matches!(outcome, StepOutcome::Halted(0)),
844 "expected Halted(0), got {outcome:?}"
845 );
846}
847
848#[test]
849fn hll_user_function_calls_putchar() {
850 let (_, outcome, uart) = run_hll(
851 r#"
852console := import("console")

Callers

nothing calls this directly

Calls 1

assemble_and_runFunction · 0.85

Tested by

no test coverage detected