()
| 1414 | |
| 1415 | #[test] |
| 1416 | fn test_embedding_key_roundtrip() { |
| 1417 | let key = encode_embedding_key("memory/arch.md", 3); |
| 1418 | let (path, idx) = decode_embedding_key(&key).unwrap(); |
| 1419 | assert_eq!(path, "memory/arch.md"); |
| 1420 | assert_eq!(idx, 3); |
| 1421 | } |
| 1422 | |
| 1423 | #[test] |
| 1424 | fn test_embedding_key_zero_chunk() { |
nothing calls this directly
no test coverage detected