()
| 87 | } |
| 88 | |
| 89 | *inputGen() { |
| 90 | const primary = this.corpora[this.primary]; |
| 91 | const secondary = Object.values(this.corpora); |
| 92 | |
| 93 | for (let i = 0; i < this.numFiles; i++) { |
| 94 | const inputs = getRandomInputs( |
| 95 | primary, |
| 96 | random.shuffle(secondary), |
| 97 | this.maxTestInputs); |
| 98 | |
| 99 | if (inputs.length > 0) { |
| 100 | yield inputs; |
| 101 | } |
| 102 | } |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | /** |
nothing calls this directly
no test coverage detected