(depth int)
| 327 | } |
| 328 | |
| 329 | func mapNode(depth int) string { |
| 330 | var items []string |
| 331 | for i := 0; i < oneOf(list[int]{ |
| 332 | {1, 100}, |
| 333 | {2, 50}, |
| 334 | {3, 25}, |
| 335 | }); i++ { |
| 336 | items = append(items, fmt.Sprintf("%v: %v", stringNode(depth-1), node(depth-1))) |
| 337 | } |
| 338 | return fmt.Sprintf("{%v}", strings.Join(items, ", ")) |
| 339 | } |
| 340 | |
| 341 | func sliceNode(depth int) string { |
| 342 | return oneOf(list[string]{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…