mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-24 10:56:51 -06:00
docs: clarify security regression guarantees
This commit is contained in:
@@ -118,7 +118,7 @@ pub fn ranges(len: f64, lt: &Linetype, scale: f64, min_pattern: f64) -> Option<V
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
/// A pattern containing only gaps produces no ranges or strokes without cycling through its repeats.
|
||||
/// This gap-only pattern draws nothing, and `ranges` returns before cycling through its repeats.
|
||||
#[test]
|
||||
fn an_all_gap_pattern_draws_nothing_without_spinning() {
|
||||
let lt = Linetype::simple("GAPS", "", &[-0.001, -0.002]);
|
||||
|
||||
@@ -412,7 +412,7 @@ mod budget_tests {
|
||||
assert!(g.fills.is_empty() && g.texts.is_empty());
|
||||
}
|
||||
|
||||
/// A split table clips merge spans using the rendered column count when source columns exceed the limit.
|
||||
/// A split table within the displayed-cell budget clips a merge to contiguous selected rows.
|
||||
#[test]
|
||||
fn part_clips_merges_using_displayed_column_count() {
|
||||
let t = Table {
|
||||
|
||||
Reference in New Issue
Block a user