func Test_getTotalReadyEndpoints(t *testing.T) { … } func sliceWithNEndpoints(ready, unready int) *discovery.EndpointSlice { … } func countEndpoints(slices []*discovery.EndpointSlice) int { … }
func Test_getTotalReadyEndpoints(t *testing.T) { … } func sliceWithNEndpoints(ready, unready int) *discovery.EndpointSlice { … } func countEndpoints(slices []*discovery.EndpointSlice) int { … }