test: extend db ckpt fold tests
@@ -1073,7 +1073,10 @@ mod tests {
10 => (None, 20),
11 => (Some(10), 20),
12 => (Some(10), 30),
- 13 => (Some(10), 10)
+ 13 => (Some(10), 10),
+ 14 => (Some(10), 20),
+ 15 => (Some(12), 22),
+ 16 => (Some(10), 22)
});
dckpt.fold(&db_ckpt!({
@@ -1086,7 +1089,10 @@ mod tests {
10 => (Some(10), 20),
11 => (None, 20),
12 => (None, 20),
- 13 => (Some(10), 10)
+ 13 => (Some(10), 10),
+ 14 => (Some(12), 22),
+ 15 => (Some(10), 20),
+ 16 => (Some(12), 20)
}));
assert_eq!(
@@ -1104,7 +1110,10 @@ mod tests {
10 => (None, 20),
11 => (None, 20),
12 => (Some(21), 30),
- 13 => (Some(10), 10)
+ 13 => (Some(10), 10),
+ 14 => (Some(12), 22),
+ 15 => (Some(12), 22),
+ 16 => (Some(12), 22)
}),
);
}
