From 6c1274b75e5c4711a0ecd8e5a7247982b6a1cc4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Thu, 2 Mar 2023 18:36:11 +0100 Subject: [PATCH] tests/monitor/default-scale: Add a couple of more test cases Part-of: --- src/tests/monitor-unit-tests.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/tests/monitor-unit-tests.c b/src/tests/monitor-unit-tests.c index ffeafe1ef..5aedb7844 100644 --- a/src/tests/monitor-unit-tests.c +++ b/src/tests/monitor-unit-tests.c @@ -9286,6 +9286,24 @@ meta_test_monitor_calculate_mode_scale (void) .exp = 1.5, .exp_nofrac = 1.0, }, + { + .name = "Dell XPS 9320", + .width = 3840, + .height = 2400, + .width_mm = 290, + .height_mm = 180, + .exp = 2.5, + .exp_nofrac = 2.0, + }, + { + .name = "Lenovo ThinkPad X1 Yoga Gen 6", + .width = 3840, + .height = 2400, + .width_mm = 300, + .height_mm = 190, + .exp = 2.5, + .exp_nofrac = 2.0, + }, { .name = "Generic 23\" 1080p", .width = 1920,