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

Function where_expr_with_three_args

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

Source from the content-addressed store, hash-verified

640
641 #[test]
642 fn where_expr_with_three_args() {
643 pyo3::prepare_freethreaded_python();
644 Python::with_gil(|py| {
645 let km = PyKernelModule::new();
646 let cond = km.arg("c");
647 let t = km.arg("t");
648 let f = km.arg("f");
649 let t_obj = t.into_pyobject(py).unwrap();
650 let f_obj = f.into_pyobject(py).unwrap();
651 let result = km.where_expr(cond, t_obj.as_any(), f_obj.as_any()).unwrap();
652 assert_eq!(result.temp_args.len(), 3);
653 });
654 }
655
656 // --- Reduce specs ---
657

Callers

nothing calls this directly

Calls 2

where_exprMethod · 0.80
argMethod · 0.45

Tested by

no test coverage detected