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

Function TestComputeRunMetricsDiff_AllZero

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

Source from the content-addressed store, hash-verified

570}
571
572func TestComputeRunMetricsDiff_AllZero(t *testing.T) {
573 summary1 := &RunSummary{Run: WorkflowRun{}}
574 summary2 := &RunSummary{Run: WorkflowRun{}}
575
576 diff := computeRunMetricsDiff(summary1, summary2)
577 assert.Nil(t, diff, "Should return nil when all metrics are zero")
578}
579
580func TestComputeAuditDiff_CombinesAllSections(t *testing.T) {
581 summary1 := &RunSummary{

Callers

nothing calls this directly

Calls 1

computeRunMetricsDiffFunction · 0.85

Tested by

no test coverage detected