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

Function ir_output_contains_math_op

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

Source from the content-addressed store, hash-verified

78
79#[test]
80fn ir_output_contains_math_op() {
81 let src = "f: (x: i32) -> i32 { return x * 2 }";
82 let ir = hll_to_ir_text(src);
83 assert!(
84 ir.contains("mul"),
85 "IR should contain a multiply operation; got:\n{ir}"
86 );
87}
88
89#[test]
90fn ir_output_local_var_alloc() {

Callers

nothing calls this directly

Calls 1

hll_to_ir_textFunction · 0.85

Tested by

no test coverage detected