mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-02 20:18:38 -05:00
svg_type_shifted_two_billion_points_exports_to_pdf now checks that the SVG import keeps the type's shift of more than 2,000,000,000 pt, and that the exported PDF leaves the type out, read back with the PDF importer. Before, it checked only that the export returned Ok, so an import that dropped or clamped the shift made it pass without reaching the bound. a_long_thin_shape_with_a_shadow_renders_and_exports now checks that the Affinity import gives exactly one shape with a drop shadow, more than 3,000,000 pt wide, before it renders and exports it. Before, an import that dropped the shadow made it pass without drawing one. The other 66 test-lint hits in import_fuzz.rs are property tests whose claim is that hostile input loads, renders and exports without a panic. Their helpers (survive, survive_library and the others) fail the case through TestCaseError, which the no-assertion rule does not count.