mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-24 10:16:59 -06:00
Drop the arithmetic-only app bar test; the test window test covers it (#481)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user