Make summaries a running sum
This commit is contained in:
parent
57ea58c83e
commit
b43153a99f
3 changed files with 35 additions and 27 deletions
|
@ -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"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue