Drop the arithmetic-only app bar test; the test window test covers it (#481)

This commit is contained in:
MarekSpodBiedry
2026-10-12 08:06:16 +02:00
parent f8f8eb619f
commit 2c2e3d73c7
-6
View File
@@ -776,12 +776,6 @@ mod tests {
use crate::test_window::{self, wheel};
#[test]
fn the_app_bar_tools_slot_leaves_slack_when_everything_fits() {
assert!(super::tools_slot_width(500.0, 300.0) < 500.0, "a full-width slot can overflow by a rounding error");
assert_eq!(super::tools_slot_width(200.0, 300.0), 300.0, "a narrow window still scrolls");
}
/// The Control panel's last control with nothing selected.
const LAST_CONTROL: &str = "Jump to Next Column";
const FIRST_CONTROL: &str = "Rotate 90° Counterclockwise";