This patch adds coverage to the Primitive.pm test script. Preexisting tests are unchanged. Does anyone have any suggestions on what else might be helpful and accessible? I looked through Matrix.pm, but it didn't seem to work properly, even in the stable version (2.4.11 from the Debian package.) I used an older machine I have, so no possibility of contamination from the development version. It did basically say in the comments that it is a work in progress.
On a related note, is there a way to test piddles for equality that returns a single scalar true/false? The closest I found is approx with 0 tolerance, but that just returns a piddle. It would make the tests a bit less convoluted.