Good testcase for dot.demo/neatopack.c?

What would constitute a good test case for dot.demo/neatopack.c in terms of DOT input and expected output?

A short general description of what the program actually does would also be appreciated.

From the commit history it seems that @erg is the author, but anyone can answer. :slightly_smiling_face:

References: