Function slog_extlog::slog_test::check_expected_stats[][src]

pub fn check_expected_stats(logs: &[Value], expected_stats: Vec<ExpectedStat>)

Asserts that a set of logs (retrieved using logs_in_range) is exactly equal to an expected set of stats.

Particularly useful for grouped stats.