mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-31 05:07:51 -06:00
normalize_bez ran the sweep without the catch_unwind guard that Sweep::new has, so an outline_stroke width of 1e200 or more with a round join panicked inside linesweeper (Left == Ish). The panic is now a Degenerate error and the art is left unchanged. Adds hostile-number tests for the pathops edit, stroke and offset functions.
14 lines
387 B
Rust
14 lines
387 B
Rust
//! Integration tests: one test binary for the crate, one module per area.
|
||
// Unwrapping and panicking on failure is fine here, unlike in shipped code (AGENTS.md › Robustness).
|
||
#![allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
||
|
||
#[path = "../common/mod.rs"]
|
||
mod common;
|
||
|
||
mod hostile_params;
|
||
mod ops;
|
||
mod pathfinder_pinned;
|
||
mod prop_pathops;
|
||
mod props;
|
||
mod regressions;
|