//! Query integration tests.
//!
//! Tests for EventStore query methods and aggregations:
//! - sum: Summation over time ranges
//! - average: Computing averages
//! - count_nonzero: Counting non-zero buckets
//! - delta: Change between time points
//! - ratio: Ratios between events
//! - first_seen: First occurrence estimation (includes boundary condition tests)
//! - last_seen: Last occurrence detection
//! - last_first_seen: Most recent first occurrence
//! - into_buckets: Bucket-level data extraction