()
| 1110 | |
| 1111 | #[test] |
| 1112 | fn test_embedding_key_roundtrip() { |
| 1113 | let key = encode_embedding_key("memory/arch.md", 3); |
| 1114 | let (path, idx) = decode_embedding_key(&key).unwrap(); |
| 1115 | assert_eq!(path, "memory/arch.md"); |
| 1116 | assert_eq!(idx, 3); |
| 1117 | } |
| 1118 | |
| 1119 | #[test] |
| 1120 | fn test_embedding_key_zero_chunk() { |
nothing calls this directly
no test coverage detected