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

Function execute_map_missing_arg

src/python/py_kernel.rs:506–515  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

504
505 #[test]
506 fn execute_map_missing_arg() {
507 let km = PyKernelModule::new();
508 let x = km.arg("x");
509 let spec = km.elementwise(x).unwrap();
510
511 let args = HashMap::new(); // no args provided
512 let map_spec = PyMapSpec { spec, args };
513 let result = execute_map(&map_spec);
514 assert!(result.is_err());
515 }
516
517 #[test]
518 fn execute_map_multiple_missing_args_are_sorted_why_arg_validation_must_report_the_full_contract_gap(

Callers

nothing calls this directly

Calls 3

execute_mapFunction · 0.85
argMethod · 0.45
elementwiseMethod · 0.45

Tested by

no test coverage detected