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

Function TestComputeTokenUsageDiff_BothNil

pkg/cli/audit_diff_test.go:731–734  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

729}
730
731func TestComputeTokenUsageDiff_BothNil(t *testing.T) {
732 diff := computeTokenUsageDiff(nil, nil)
733 assert.Nil(t, diff, "Should return nil when both summaries are nil")
734}
735
736func TestComputeTokenUsageDiff_WithData(t *testing.T) {
737 tu1 := &TokenUsageSummary{

Callers

nothing calls this directly

Calls 1

computeTokenUsageDiffFunction · 0.85

Tested by

no test coverage detected