f512d94c74
git-subtree-dir: clients/ds-app git-subtree-mainline:a24e3e6f22git-subtree-split:5206cf3b0c
19 lines
713 B
Swift
19 lines
713 B
Swift
import XCTest
|
|
@testable import AIFabric
|
|
|
|
/// Phase 0 하니스 스모크 — Sources/AI 단독 빌드/테스트가 도는지, 동결 타입이 보이는지만 확인.
|
|
final class HarnessSmokeTests: XCTestCase {
|
|
|
|
func testFrozenTypesVisible() {
|
|
// 동결 인터페이스 심볼이 AIFabric product 에서 보인다.
|
|
XCTAssertEqual(AIProviderID.allCases.count, 4)
|
|
XCTAssertEqual(AIRoutingPolicy.default.chain(for: .corpusAsk), [.remoteDS])
|
|
}
|
|
|
|
func testAskFixtureReadable() throws {
|
|
// canonical contract/fixtures/ask.json 이 로드된다 (FixtureSupport 경로 확인).
|
|
let data = try Fixture.data("ask.json")
|
|
XCTAssertGreaterThan(data.count, 0)
|
|
}
|
|
}
|