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: a6217c720e ("tests: Add tests for monitor_calculate_mode_scale")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2880>
This commit is contained in:
Jonas Ådahl 2023-03-02 11:01:55 +01:00 committed by Marge Bot
parent 98c9db98e3
commit b0207f9567

View File

@ -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",