MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / empty_input

Function empty_input

nodedb-query/src/simd_agg.rs:536–542  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

534
535 #[test]
536 fn empty_input() {
537 let rt = ts_runtime();
538 assert_eq!((rt.sum_f64)(&[]), 0.0);
539 assert!((rt.min_f64)(&[]).is_infinite());
540 assert!((rt.max_f64)(&[]).is_infinite());
541 assert!((rt.range_filter_i64)(&[], 0, 100).is_empty());
542 }
543
544 #[test]
545 fn small_input() {

Callers

nothing calls this directly

Calls 1

ts_runtimeFunction · 0.85

Tested by

no test coverage detected