What a vector is

You will learn

What a test vector is, and why the answer belongs beside the input, in the file.

A vector is an input with the correct output written next to it, in a file a tool can read. That last clause is where vectors usually die: 34 vector files with 512 cases live in the corpus, and the sweep behind the widget counted 2 files actually executed, 8 recorded as debt, 24 prose-only -- descriptions of cases no runner can parse. 19% carry data. A vector that nothing executes is documentation wearing a testbench's clothes.

Open the interactive lesson →