Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
339
func
TestHistogram_Count(t *testing.T) {
340
assert.Equal(t, Histogram{count: 1}.Count(), 1.0)
341
}
342
343
func
TestHistogram_Buckets(t *testing.T) {
344
assert.Equal(t,
Callers
nothing calls this directly
Calls
2
Equal
Method · 0.80
Count
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…