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

Function run_slice_string_utilities

tests/integration/cli_pipeline.rs:249–269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

247 }
248 if !string.equals(joined, \"abcd\") {
249 return 2
250 }
251 console.print(joined)
252 return string.len(joined) as i32
253}";
254 let (uart, code) = run_hll(src);
255 assert_eq!(code, 4);
256 assert_eq!(uart, "abcd");
257}
258
259#[test]
260fn run_zero_exit_code() {
261 let src = "main: () -> i32 { return 0 }";
262 let (_, code) = run_hll(src);
263 assert_eq!(code, 0);
264}

Callers

nothing calls this directly

Calls 1

run_hllFunction · 0.70

Tested by

no test coverage detected