()
| 1149 | |
| 1150 | #[test] |
| 1151 | fn test_embedding_key_zero_chunk() { |
| 1152 | let key = encode_embedding_key("memory/arch.md", 0); |
| 1153 | let (path, idx) = decode_embedding_key(&key).unwrap(); |
| 1154 | assert_eq!(path, "memory/arch.md"); |
| 1155 | assert_eq!(idx, 0); |
| 1156 | } |
| 1157 | |
| 1158 | #[test] |
| 1159 | fn test_embedding_key_decode_invalid() { |
nothing calls this directly
no test coverage detected