()
| 256 | |
| 257 | #[test] |
| 258 | fn sum_skips_nulls() { |
| 259 | let t = tile(&[(0, Some(1.0)), (1, None), (2, Some(3.0))]); |
| 260 | let r = aggregate_attr(&t, 0, Reducer::Sum); |
| 261 | assert_eq!(r.finalize(), Some(4.0)); |
| 262 | } |
| 263 | |
| 264 | #[test] |
| 265 | fn count_includes_nonnull_only() { |
nothing calls this directly
no test coverage detected