import Testing
@testable import CodexBar

@MainActor
struct CostSummarySettingsSectionTests {
    @Test
    func `cost settings explain reported and estimated sources`() {
        #expect(
            CostSummarySettingsSection.costDataExplanation()
                == "Costs may be provider-reported or estimated from token usage at public API prices. "
                + "Estimates are not subscription charges.")
    }

    @Test
    func `cost settings status providers come from ordered descriptor capabilities`() {
        #expect(CostSummarySettingsSection.costStatusProviders == [.claude, .codex, .cursor])
    }
}
