From 1ddef642c19015d0f8b5c17b270e15711fdca01e Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Sat, 10 Jun 2023 18:20:05 -0500 Subject: [PATCH] helps if we test the right order azy... --- Engine/source/windowManager/test/windowManagerTest.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Engine/source/windowManager/test/windowManagerTest.cpp b/Engine/source/windowManager/test/windowManagerTest.cpp index 649dcd607..a11170f69 100644 --- a/Engine/source/windowManager/test/windowManagerTest.cpp +++ b/Engine/source/windowManager/test/windowManagerTest.cpp @@ -29,11 +29,12 @@ TEST(WinMgr, BasicAPI) { PlatformWindowManager *pwm = CreatePlatformWindowManager(); - // Check out the primary desktop area... - RectI primary = pwm->getPrimaryDesktopArea(); EXPECT_TRUE(pwm) << "no monitor to test against!"; + // Check out the primary desktop area... + RectI primary = pwm->getPrimaryDesktopArea(); + EXPECT_TRUE(primary.isValidRect()) << "Got some sort of invalid rect from the window manager!";