()
| 10 | let seed = 1; |
| 11 | |
| 12 | function random() { |
| 13 | var x = Math.sin(seed++) * 10000; |
| 14 | return x - Math.floor(x); |
| 15 | } |
| 16 | |
| 17 | function randomIntFromInterval(min: number, max: number) { |
| 18 | return Math.floor(random() * (max - min + 1) + min); |
no outgoing calls
no test coverage detected