(label, ok, detail)
| 31 | let failures = 0; |
| 32 | |
| 33 | function check(label, ok, detail) { |
| 34 | if (ok) { |
| 35 | console.log(`PASS ${label}`); |
| 36 | } else { |
| 37 | failures += 1; |
| 38 | console.error(`FAIL ${label}${detail ? `: ${detail}` : ''}`); |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | // Independent recounts: deliberately not calling generator internals. |
| 43 | function recountSkills() { |