(min: number, max: number)
| 15 | } |
| 16 | |
| 17 | function randomIntFromInterval(min: number, max: number) { |
| 18 | return Math.floor(random() * (max - min + 1) + min); |
| 19 | } |
| 20 | |
| 21 | function randomFloatFromInterval(min: number, max: number) { |
| 22 | return random() * (max - min + 1) + min; |
no test coverage detected