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

Function count_includes_nonnull_only

nodedb-array/src/query/aggregate.rs:265–269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

263
264 #[test]
265 fn count_includes_nonnull_only() {
266 let t = tile(&[(0, Some(1.0)), (1, None), (2, Some(3.0))]);
267 let r = aggregate_attr(&t, 0, Reducer::Count);
268 assert_eq!(r.finalize(), Some(2.0));
269 }
270
271 #[test]
272 fn min_max_mean() {

Callers

nothing calls this directly

Calls 2

aggregate_attrFunction · 0.85
tileFunction · 0.70

Tested by

no test coverage detected