MCPcopy
hub / github.com/netdata/netdata / TestHistogram_Count

Function TestHistogram_Count

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

Source from the content-addressed store, hash-verified

337}
338
339func TestHistogram_Count(t *testing.T) {
340 assert.Equal(t, Histogram{count: 1}.Count(), 1.0)
341}
342
343func TestHistogram_Buckets(t *testing.T) {
344 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…