(min: number, max: number)
| 143 | } |
| 144 | |
| 145 | export function randomFloat(min: number, max: number): number { |
| 146 | return min + Math.random() * (max - min); |
| 147 | } |
| 148 | |
| 149 | export function randomInt(min: number, max: number): number { |
| 150 | return Math.floor(min + Math.random() * (max - min + 1)); |
no outgoing calls
no test coverage detected