Use ImageMagick's compare utility to check the results of the testsuite against a "control" PDF that we know is a correct version of the test graph. This way, if we break some metric calculation or drawing routine compare will notice a large difference and flag the test as failed. This addition would also mean that the results of the testsuite don't have to be manually inspected before a release to see if something went funky.
Use ImageMagick's
compare
utility to check the results of the testsuite against a "control" PDF that we know is a correct version of the test graph. This way, if we break some metric calculation or drawing routinecompare
will notice a large difference and flag the test as failed. This addition would also mean that the results of the testsuite don't have to be manually inspected before a release to see if something went funky.