kubernetes/staging/src/k8s.io/endpointslice/metrics/cache_test.go

func TestNumEndpointsAndSlices(t *testing.T) {}

func TestPlaceHolderSlice(t *testing.T) {}

func expectNumEndpointsAndSlices(t *testing.T, c *Cache, desired int, actual int, numEndpoints int) {}

// Tests the mutations to servicesByTrafficDistribution field within Cache
// object.
func TestCache_ServicesByTrafficDistribution(t *testing.T) {}

func benchmarkUpdateServicePortCache(b *testing.B, num int) {}

func BenchmarkUpdateServicePortCache100(b *testing.B) {}

func BenchmarkUpdateServicePortCache1000(b *testing.B) {}

func BenchmarkUpdateServicePortCache10000(b *testing.B) {}

func BenchmarkUpdateServicePortCache100000(b *testing.B) {}

func ptrTo[T any](obj T) *T {}