mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-02 14:51:20 -05:00
ccf5765419
Tests whose all() passed on an empty list now check the list's length or that it is not empty: - huge_circles_bridge_with_finite_anchors_or_are_refused (pathops bridge) - smooth_rounds_corners (pathops ops): the four corners stay, smoothed - a_held_rotation_turns_the_art_around_its_pin (tools ARAP): one point per mesh vertex - the_eraser_drag_area_matches_the_release_when_pressure_or_a_mode_starts_during_the_drag (tools gesture): one released point per press - every_effect_casts_a_shadow, inflate_cells_across_a_hole_edge_are_cut_to_the_shape, a_plane_has_only_a_front_and_a_hollow_solid_none and perspective_runs_0_to_160_degrees_with_the_eye_outside_the_object (three-d) - a_file_two_branches_include_is_followed_from_the_shallower_one (scriptcheck): one row per include line - pens_pick_colors_and_widths (cad HP-GL): four widths - junk_pressure_brushes_draw_finite_art (brush): all 12 cases draw Round trips that hold by construction (parse finds the id in ALL) are replaced with one saved name that must parse and one that must not: follow_names_parse (pathops shared edge), the shape kinds (pathops shapes), surfaces_parse_from_their_ids (three-d), the Quick Pen actions (tools), names_parse_and_serialize_as_names (plugins) and the brush variation modes, which also compare the serde names with the ids. crop_keeps_an_instance_whose_art_reaches_the_region (cad) names the entities written instead of checking that some were. the_saved_engine_preference_is_found (app) pins the GPU choices the preferences offer to the three the app reads. timing_unite_1000_circles (pathops) gets an ignore reason and checks that Unite gives one shape. Each changed assertion fails when the code under test is broken (an id renamed, a list emptied, a flush or instance dropped) and passes when it is restored.