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

Function ir_output_contains_function_name

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

Source from the content-addressed store, hash-verified

68
69#[test]
70fn ir_output_contains_function_name() {
71 let src = "add: (a: i32, b: i32) -> i32 { return a + b }";
72 let ir = hll_to_ir_text(src);
73 assert!(
74 ir.contains("add"),
75 "IR should contain the function name 'add'"
76 );
77}
78
79#[test]
80fn ir_output_contains_math_op() {

Callers

nothing calls this directly

Calls 1

hll_to_ir_textFunction · 0.85

Tested by

no test coverage detected