import { describe, expect, it } from "vitest";
import { getConfidenceScore } from "@/modules/quote/confidence";

describe("getConfidenceScore", () => {
  it("source=rpa → 0.95", () => {
    expect(getConfidenceScore("rpa")).toBe(0.95);
  });

  it("source=cache → 0.95", () => {
    expect(getConfidenceScore("cache")).toBe(0.95);
  });

  it("source=stale → 0.70", () => {
    expect(getConfidenceScore("stale")).toBe(0.7);
  });
});
