Make summaries a running sum

This commit is contained in:
Piotr Osiewicz 2025-08-08 16:49:30 +02:00
parent 57ea58c83e
commit b43153a99f
3 changed files with 35 additions and 27 deletions

View file

@ -412,7 +412,7 @@ mod tests {
.take_while(|(key, _)| key.starts_with("ba"))
.collect::<Vec<_>>();
assert_eq!(result.len(), 2);
assert_eq!(result.len(), 2, "{result:?}");
assert!(result.iter().any(|(k, _)| k == &&"baa"));
assert!(result.iter().any(|(k, _)| k == &&"baaab"));