MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / test_coalesce_all_null

Function test_coalesce_all_null

graphlite/src/functions/null_functions.rs:227–237  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

225
226 #[test]
227 fn test_coalesce_all_null() {
228 let func = CoalesceFunction::new();
229 let context = FunctionContext::new(
230 vec![],
231 HashMap::new(),
232 vec![Value::Null, Value::Null, Value::Null],
233 );
234
235 let result = func.execute(&context).unwrap();
236 assert!(result.is_null());
237 }
238
239 #[test]
240 fn test_coalesce_single_argument() {

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected