(t *testing.T)
| 78 | } |
| 79 | |
| 80 | func TestRandInt(t *testing.T) { |
| 81 | t.Parallel() |
| 82 | |
| 83 | assert := internal.NewAssert(t, "TestRandInt") |
| 84 | |
| 85 | r1 := RandInt(1, 10) |
| 86 | assert.GreaterOrEqual(r1, 1) |
| 87 | assert.Less(r1, 10) |
| 88 | |
| 89 | r2 := RandInt(1, 1) |
| 90 | assert.Equal(1, r2) |
| 91 | |
| 92 | r3 := RandInt(10, 1) |
| 93 | assert.GreaterOrEqual(r1, 1) |
| 94 | assert.Less(r3, 10) |
| 95 | } |
| 96 | |
| 97 | func TestRandBytes(t *testing.T) { |
| 98 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…