()
| 1101 | |
| 1102 | #[test] |
| 1103 | fn test_embedding_key_roundtrip() { |
| 1104 | let key = encode_embedding_key("memory/arch.md", 3); |
| 1105 | let (path, idx) = decode_embedding_key(&key).unwrap(); |
| 1106 | assert_eq!(path, "memory/arch.md"); |
| 1107 | assert_eq!(idx, 3); |
| 1108 | } |
| 1109 | |
| 1110 | #[test] |
| 1111 | fn test_embedding_key_zero_chunk() { |
nothing calls this directly
no test coverage detected