(sz int)
| 19 | ) |
| 20 | |
| 21 | func RandBytes(sz int) []byte { |
| 22 | out := make([]byte, sz) |
| 23 | rng := rand.New(rand.NewSource(time.Now().UnixNano())) |
| 24 | for i := range out { |
| 25 | out[i] = byte(rng.Uint32()) |
| 26 | } |
| 27 | return out |
| 28 | } |
| 29 | |
| 30 | func TestWriteMapHeader(t *testing.T) { |
| 31 | tests := []struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…