MCPcopy Create free account
hub / github.com/YuminosukeSato/ironkernel / eval_empty_buffer

Function eval_empty_buffer

src/ir/flat.rs:464–469  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

462
463 #[test]
464 fn eval_empty_buffer() {
465 let flat = compile(&Expr::ArgRef(0));
466 let args = vec![buf(vec![])];
467 let result = eval_flat_elementwise(&flat, &args).unwrap();
468 assert!(result.is_empty());
469 }
470
471 #[test]
472 fn eval_single_element() {

Callers

nothing calls this directly

Calls 2

compileFunction · 0.85
eval_flat_elementwiseFunction · 0.85

Tested by

no test coverage detected