()
| 1118 | |
| 1119 | #[test] |
| 1120 | fn test_embedding_key_zero_chunk() { |
| 1121 | let key = encode_embedding_key("memory/arch.md", 0); |
| 1122 | let (path, idx) = decode_embedding_key(&key).unwrap(); |
| 1123 | assert_eq!(path, "memory/arch.md"); |
| 1124 | assert_eq!(idx, 0); |
| 1125 | } |
| 1126 | |
| 1127 | #[test] |
| 1128 | fn test_embedding_key_decode_invalid() { |
nothing calls this directly
no test coverage detected