Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for searching decimal and lengths units
Added 2 new tests: test_decimal_size test returns an error code when decimal numbers are detected in width, height, or viewBox attributes. It is impossible to create a pixel-perfect icon if its size does not fit into the pixel grid. test_lengths_units returns an error code when any lengths units are set in width, height, and viewBox attributes. This is protect the icon theme from icons with mm, inch, and others grids. Also, the test ban px units, because the pixel grid is a default units for SVG. A few tests have been renamed, and its description has been updated.
- Loading branch information