(t *[]time.Time, c fuzz.Continue)
| 128 | } |
| 129 | |
| 130 | func fuzzTimeSlice(t *[]time.Time, c fuzz.Continue) { |
| 131 | var i uint64 |
| 132 | rv := make([]time.Time, 0) |
| 133 | count := c.RandUint64() % 50 |
| 134 | for i = 0; i < count; i++ { |
| 135 | var tmp time.Time |
| 136 | fuzzTime(&tmp, c) |
| 137 | rv = append(rv, tmp) |
| 138 | } |
| 139 | *t = rv |
| 140 | } |
| 141 | |
| 142 | // Test 1000 iterations |
| 143 | func TestFuzzCycle(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…