()
| 186 | |
| 187 | #[test] |
| 188 | fn get_or_create_installs_empty_partition() { |
| 189 | let mut sharded = ShardedCsrIndex::new(); |
| 190 | let part = sharded.get_or_create(tid(7)); |
| 191 | assert_eq!(part.node_count(), 0); |
| 192 | assert!(sharded.contains_partition(tid(7))); |
| 193 | assert_eq!(sharded.partition_count(), 1); |
| 194 | } |
| 195 | |
| 196 | #[test] |
| 197 | fn partitions_are_isolated_by_tenant() { |
nothing calls this directly
no test coverage detected