MCPcopy Create free account
hub / github.com/github/gh-aw / TestComputeModelInferenceAIC

Function TestComputeModelInferenceAIC

pkg/cli/model_costs_test.go:18–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

16}
17
18func TestComputeModelInferenceAIC(t *testing.T) {
19 aic := computeModelInferenceAIC("anthropic", "claude-sonnet-4.6", 1000, 200, 400, 50, 25)
20 assert.InDelta(t, 0.54825, aic, 1e-9)
21}
22
23func TestNormalizeCatalogProvider(t *testing.T) {
24 tests := []struct {

Callers

nothing calls this directly

Calls 1

computeModelInferenceAICFunction · 0.85

Tested by

no test coverage detected