(min, max)
| 11 | } |
| 12 | |
| 13 | export function rand(min, max) { |
| 14 | min = valueOrDefault(min, 0); |
| 15 | max = valueOrDefault(max, 0); |
| 16 | _seed = (_seed * 9301 + 49297) % 233280; |
| 17 | return min + (_seed / 233280) * (max - min); |
| 18 | } |
| 19 | |
| 20 | export function numbers(config) { |
| 21 | var cfg = config || {}; |
nothing calls this directly
no test coverage detected