You won't believe how meta this is

Instead of asserting a predefined list of expected outputs matches the output
of the UUT, generate the expected output.

To ensure the generated expected output is correct, compare it to a list of
predefined values.
formatting needs improvement - maybe we could look at an automatic formatting module?