()
| 1137 | |
| 1138 | #[test] |
| 1139 | fn test_embedding_key_zero_chunk() { |
| 1140 | let key = encode_embedding_key("memory/arch.md", 0); |
| 1141 | let (path, idx) = decode_embedding_key(&key).unwrap(); |
| 1142 | assert_eq!(path, "memory/arch.md"); |
| 1143 | assert_eq!(idx, 0); |
| 1144 | } |
| 1145 | |
| 1146 | #[test] |
| 1147 | fn test_embedding_key_decode_invalid() { |
nothing calls this directly
no test coverage detected