(min, max)
| 2107 | const randomizeParamsForType = type => { |
| 2108 | const rand = (min, max) => Math.random() * (max - min) + min; |
| 2109 | const randInt = (min, max) => Math.floor(rand(min, max + 1)); |
| 2110 | const randBool = () => Math.random() > 0.5; |
| 2111 | const randChoice = arr => arr[Math.floor(Math.random() * arr.length)]; |
| 2112 | const randColor = () => |
no test coverage detected