package at.procon.dip.embedding.support;

import static org.assertj.core.api.Assertions.assertThat;

import org.junit.jupiter.api.Test;

class EmbeddingVectorCodecTest {

    @Test
    void should_render_pgvector_literal() {
        String rendered = EmbeddingVectorCodec.toPgVector(new float[]{1.0f, 2.5f, -0.75f});
        assertThat(rendered).isEqualTo("[1.0,2.5,-0.75]");
    }
}
