MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / TestNewPartialRanges5

Function TestNewPartialRanges5

internal/caches/partial_ranges_test.go:94–100  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

92}
93
94func TestNewPartialRanges5(t *testing.T) {
95 var r = caches.NewPartialRanges(0)
96 for j := 0; j < 1000; j++ {
97 r.Add(int64(j), int64(j+100))
98 }
99 logs.PrintAsJSON(r.Ranges, t)
100}
101
102func TestNewPartialRanges_Nearest(t *testing.T) {
103 {

Callers

nothing calls this directly

Calls 2

NewPartialRangesFunction · 0.92
AddMethod · 0.65

Tested by

no test coverage detected