From 6fa7ea56fb01033ed6305b6029a1f80556990128 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Mon, 23 Nov 2026 12:36:55 +0700 Subject: [PATCH] Units tests: drop the millimetre helper no test reads --- crates/ui-egui/src/panels/tests_units.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/crates/ui-egui/src/panels/tests_units.rs b/crates/ui-egui/src/panels/tests_units.rs index 0f712f7dbb..b59dee1138 100644 --- a/crates/ui-egui/src/panels/tests_units.rs +++ b/crates/ui-egui/src/panels/tests_units.rs @@ -53,11 +53,6 @@ fn bar(app: &mut VectorcraftApp, ui: &mut Ui) { transform::object_bar_fields(app, ui); } -/// The 100 pt square of [`app_with_rect`] in millimetres. -fn side_mm() -> String { - Unit::Millimeters.format(100.0) -} - /// Whether a length field's `value` reads `pt` points in `unit`, to the decimals it shows: a length field's value is /// its number and the unit's suffix painted after it, as [`Unit::format`] writes them. pub(crate) fn reads(value: Option, unit: Unit, pt: f64) -> bool {