()
| 316 | |
| 317 | #[test] |
| 318 | fn statistics_with_buffer_edges() { |
| 319 | let mut csr = CsrIndex::new(); |
| 320 | csr.add_edge("a", "KNOWS", "b").unwrap(); |
| 321 | // Don't compact — edges in buffer. |
| 322 | let stats = csr.compute_statistics().unwrap(); |
| 323 | assert_eq!(stats.edge_count, 1); |
| 324 | assert_eq!(stats.label_stats["KNOWS"].edge_count, 1); |
| 325 | } |
| 326 | } |
nothing calls this directly
no test coverage detected