( unit: (new () => UnitBase<any> | Action<any>) | UnitBase<any> | Action<any>, validness = 0.7, nestingLvl = 1 )
| 409 | } |
| 410 | |
| 411 | export function randomInitialValue( |
| 412 | unit: (new () => UnitBase<any> | Action<any>) | UnitBase<any> | Action<any>, |
| 413 | validness = 0.7, |
| 414 | nestingLvl = 1 |
| 415 | ) { |
| 416 | return randomBoolean(validness) ? randomValidValue(unit) : randomValue(nestingLvl); |
| 417 | } |
| 418 | |
| 419 | export function randomAsyncSystemInitialValue(validness = 0.7, nestingLvl = 1) { |
| 420 | return { |
no test coverage detected