()
| 301 | |
| 302 | @pytest.mark.unit |
| 303 | def test_hash_embedding_batch_matches_single() -> None: |
| 304 | embed = HashEmbedding(dimensions=16) |
| 305 | batch = embed.embed_batch(["a", "b", "c"]) |
| 306 | assert len(batch) == 3 |
| 307 | assert batch[0] == embed.embed("a") |
| 308 | assert batch[1] == embed.embed("b") |
| 309 | assert batch[2] == embed.embed("c") |
| 310 | |
| 311 | |
| 312 | @pytest.mark.unit |
nothing calls this directly
no test coverage detected