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

Function empty_aggregate

nodedb/src/engine/timeseries/columnar_agg.rs:385–389  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

383
384 #[test]
385 fn empty_aggregate() {
386 let result = aggregate_f64(&[]);
387 assert_eq!(result.count, 0);
388 assert!(result.min.is_nan());
389 }
390
391 #[test]
392 fn simple_aggregate() {

Callers

nothing calls this directly

Calls 1

aggregate_f64Function · 0.85

Tested by

no test coverage detected