mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
cogl/tests: Remove test-fixed
It was a non-built non-ported test case for removed code. https://gitlab.gnome.org/GNOME/mutter/merge_requests/935
This commit is contained in:
parent
3f2a6f58eb
commit
e8e5ccf82d
@ -45,7 +45,6 @@ cogl_test_conformance_sources = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
#unported = [
|
#unported = [
|
||||||
# "test-fixed.c",
|
|
||||||
# "test-materials.c",
|
# "test-materials.c",
|
||||||
# "test-viewport.c",
|
# "test-viewport.c",
|
||||||
# "test-multitexture.c",
|
# "test-multitexture.c",
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
#include <stdio.h>
|
|
||||||
#include <clutter/clutter.h>
|
|
||||||
|
|
||||||
#include "test-conform-common.h"
|
|
||||||
|
|
||||||
void
|
|
||||||
test_fixed (TestUtilsGTestFixture *fixture,
|
|
||||||
void *data)
|
|
||||||
{
|
|
||||||
g_assert_cmpint (COGL_FIXED_1, ==, COGL_FIXED_FROM_FLOAT (1.0));
|
|
||||||
g_assert_cmpint (COGL_FIXED_1, ==, COGL_FIXED_FROM_INT (1));
|
|
||||||
|
|
||||||
g_assert_cmpint (COGL_FIXED_0_5, ==, COGL_FIXED_FROM_FLOAT (0.5));
|
|
||||||
|
|
||||||
g_assert_cmpfloat (COGL_FIXED_TO_FLOAT (COGL_FIXED_1), ==, 1.0);
|
|
||||||
g_assert_cmpfloat (COGL_FIXED_TO_FLOAT (COGL_FIXED_0_5), ==, 0.5);
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user