Explorar o código

helps if we test the right order azy...

AzaezelX %!s(int64=2) %!d(string=hai) anos
pai
achega
1ddef642c1
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      Engine/source/windowManager/test/windowManagerTest.cpp

+ 3 - 2
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!";