Tests

2,508 cases, each with its exact inputs and the exact expected output, or the exact refusal text. 2,154 are computed here, in your browser, by the test library zbc-spec.js; 354 are reference statements with nothing to compute. Open a case, press Compute, then paste what your implementation produced into Check my output.

The chapters state 1,007 tests (816 valid, 191 invalid), counted by the rule of 33 §4. The catalogue holds one case per checked output and per refusal of each, plus the reference statements of the sections that give a fact rather than a vector: 2,508 cases. Both numbers are exact; they count different things.

Loading the catalogue…