From b0207f9567d80bbdcd9182865c322da92ba2cdaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Thu, 2 Mar 2023 11:01:55 +0100 Subject: [PATCH] tests/monitor/default-scale: Fix test cases They weren't running, and didn't pass. Update the values to match what is the current result. Fixes: a6217c720e4f ("tests: Add tests for monitor_calculate_mode_scale") Part-of: --- src/tests/monitor-unit-tests.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tests/monitor-unit-tests.c b/src/tests/monitor-unit-tests.c index 57579cc4d..64dcff77b 100644 --- a/src/tests/monitor-unit-tests.c +++ b/src/tests/monitor-unit-tests.c @@ -9256,8 +9256,8 @@ meta_test_monitor_calculate_mode_scale (void) .height = 2280, .width_mm = 68, /* 19:9, 6.28" */ .height_mm = 144, - .exp = 3.0, - .exp_nofrac = 3.0, + .exp = 2.5, + .exp_nofrac = 2.0, }, { .name = "Google Pixel 6a", @@ -9265,8 +9265,8 @@ meta_test_monitor_calculate_mode_scale (void) .height = 2400, .width_mm = 64, /* 20:9, 6.1" */ .height_mm = 142, - .exp = 2.75, - .exp_nofrac = 3.0, + .exp = 2.5, + .exp_nofrac = 2.0, }, { .name = "13\" MacBook Retina",