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:
Jonas Ådahl 2019-11-20 19:34:17 +01:00 committed by Georges Basile Stavracas Neto
parent 3f2a6f58eb
commit e8e5ccf82d
2 changed files with 0 additions and 19 deletions

View File

@ -45,7 +45,6 @@ cogl_test_conformance_sources = [
]
#unported = [
# "test-fixed.c",
# "test-materials.c",
# "test-viewport.c",
# "test-multitexture.c",

View File

@ -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);
}