()
| 1422 | |
| 1423 | #[test] |
| 1424 | fn test_embedding_key_zero_chunk() { |
| 1425 | let key = encode_embedding_key("memory/arch.md", 0); |
| 1426 | let (path, idx) = decode_embedding_key(&key).unwrap(); |
| 1427 | assert_eq!(path, "memory/arch.md"); |
| 1428 | assert_eq!(idx, 0); |
| 1429 | } |
| 1430 | |
| 1431 | #[test] |
| 1432 | fn test_embedding_key_decode_invalid() { |
nothing calls this directly
no test coverage detected