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

Function printf_constexpr

tests/vm_diag_test.rs:150–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 let (uart, exit) = link_stdlib_and_run(&src);
149 assert_eq!(
150 uart, "-- compile-time math --\n7205512787ok\n",
151 "compile-time example output changed"
152 );
153 assert_eq!(exit, Some(0));
154}
155
156#[test]
157fn functions_and_io() {
158 let src = std::fs::read_to_string("programs/test/qemu/05_functions_and_io.hll").unwrap();
159 let (uart, exit) = link_stdlib_and_run(&src);
160 assert_eq!(uart.trim_end_matches('\n'), "PASS");
161 assert_eq!(exit, Some(0));
162}

Callers

nothing calls this directly

Calls 1

link_stdlib_and_runFunction · 0.85

Tested by

no test coverage detected