tests/ecore_wl2: Fix assert tests for some window functions
authorChristopher Michael <cp.michael@samsung.com>
Thu, 1 Aug 2019 12:53:21 +0000 (08:53 -0400)
committerWooHyun Jung <wh0705.jung@samsung.com>
Mon, 5 Aug 2019 02:19:59 +0000 (11:19 +0900)
ref T8016

src/tests/ecore_wl2/ecore_wl2_test_window.c

index 3f5e98c..5fa938c 100644 (file)
@@ -58,7 +58,7 @@ EFL_START_TEST(wl2_window_surface_test)
    ck_assert(surf != NULL);
 
    id = ecore_wl2_window_surface_id_get(win);
-   ck_assert_int_lt(id, 0);
+   ck_assert_int_gt(id, 0);
 
    ck_assert_int_eq(wl_proxy_get_id((struct wl_proxy *)surf), id);
 }
@@ -77,7 +77,7 @@ EFL_START_TEST(wl2_window_rotation_get)
    ck_assert(win != NULL);
 
    rot = ecore_wl2_window_rotation_get(win);
-   ck_assert_int_lt(rot, 0);
+   ck_assert_int_ge(rot, 0);
 }
 EFL_END_TEST