()
| 190 | |
| 191 | #[test] |
| 192 | fn target_partition_count() { |
| 193 | let mut buf = O3Buffer::new(100); |
| 194 | buf.insert(make_row(100, 1, 0)); |
| 195 | buf.insert(make_row(200, 1, 86_400_000)); |
| 196 | buf.insert(make_row(300, 2, 0)); |
| 197 | assert_eq!(buf.target_partition_count(), 2); |
| 198 | } |
| 199 | |
| 200 | #[test] |
| 201 | fn empty_query() { |