MCPcopy
hub / github.com/netdata/netdata / TestSummary_Count

Function TestSummary_Count

src/go/pkg/prometheus/metric_family_test.go:316–318  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

314}
315
316func TestSummary_Count(t *testing.T) {
317 assert.Equal(t, Summary{count: 1}.Count(), 1.0)
318}
319
320func TestSummary_Quantiles(t *testing.T) {
321 assert.Equal(t,

Callers

nothing calls this directly

Calls 2

EqualMethod · 0.80
CountMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…