()
| 276 | |
| 277 | #[test] |
| 278 | fn test_root_vertex() { |
| 279 | let root = GraphNode::<NodeId>::ROOT; |
| 280 | assert!(root.is_root()); |
| 281 | assert!(root.is_empty()); |
| 282 | assert_eq!(root.len(), 0); |
| 283 | |
| 284 | let bytes = vertex_to_bytes(&root); |
| 285 | // Root should be all zeros |
| 286 | assert_eq!(bytes, [0u8; 24]); |
| 287 | } |
| 288 | |
| 289 | // Two-Level B-Tree Conceptual Tests |
| 290 |
nothing calls this directly
no test coverage detected