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