- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestIntnRange (0.14 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/rand/rand_test.go
actual := Perm(i) expected := rand.Perm(i) for j := 0; j < i; j++ { if actual[j] != expected[j] { t.Errorf("Perm call result is unexpected") } } } } func TestIntnRange(t *testing.T) { // 0 is invalid. for min, max := range map[int]int{1: 2, 10: 123, 100: 500} { for i := 0; i < maxRangeTestCount; i++ { inrange := IntnRange(min, max) if inrange < min || inrange >= max {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 07 13:45:36 UTC 2021 - 2.5K bytes - Viewed (0)