Closed jonathancrabtree closed 6 years ago
Done, although the whitespace and decimal precision issues haven't been addressed.
The whitespace issue needs to be addressed, at least the case where versions of the SVG module differ in their placement of newline characters, like so:
< <text font-size="50" font-weight="bold" text-anchor="start" transform="rotate(-90)" x="0" y="0">0.0Mb</text>
---
> <text font-size="50" font-weight="bold" text-anchor="start" transform="rotate(-90)" x="0" y="0">0.0Mb
> </text>
t/circleator.t now only looks at the first 10 decimal places when comparing coordinate values. All that remains now is the whitespace issue.
Currently t/circleator.t is highly sensitive to the version of the Perl SVG module used, not least because the version number gets written into the SVG file itself e.g.,
This should be easy to fix and we might also consider ignoring the following when comparing the test .svg file with the manually-verified version in t/results: