//! 1. the sort now uses `f32::total_cmp` — the old `partial_cmp().unwrap()` was a panic path if a
//! 2. when a forced break and an interval break land within the 1px merge window, the FORCED break
//! `skip_first_page` making the first page valid) made the old interval loop `y += normal` never
//! terminate. Interval generation now stops after the first-page break when the normal height is
#[allow(clippy::struct_excessive_bools)] // independent feature flags; mirrors the C-ABI struct layout
let breaks = compute_page_breaks_impl(input, *constraints, policy, None, Some(&mut warnings));
#[allow(clippy::too_many_lines)] // large but cohesive: single-purpose layout/render/parse routine
matches!(breaks[0].kind, BreakKind::Avoided(pushed_from) if (pushed_from - 100.0).abs() < 0.01)