summaryrefslogtreecommitdiff
path: root/libs/cglm/test/src/tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/cglm/test/src/tests.c')
-rw-r--r--libs/cglm/test/src/tests.c63
1 files changed, 63 insertions, 0 deletions
diff --git a/libs/cglm/test/src/tests.c b/libs/cglm/test/src/tests.c
new file mode 100644
index 0000000..1505e32
--- /dev/null
+++ b/libs/cglm/test/src/tests.c
@@ -0,0 +1,63 @@
+/*
+ * Copyright (c), Recep Aslantas.
+ *
+ * MIT License (MIT), http://opensource.org/licenses/MIT
+ * Full license can be found in the LICENSE file
+ */
+
+/* test inline */
+/*---------------------------------------------------------------------------*/
+
+
+#define GLM_PREFIX glm_
+#define GLM(X) (glm_ ## X)
+
+#include "test_vec2.h"
+#include "test_vec3.h"
+#include "test_vec4.h"
+#include "test_ivec2.h"
+#include "test_ivec3.h"
+#include "test_ivec4.h"
+#include "test_mat2.h"
+#include "test_mat3.h"
+#include "test_mat4.h"
+#include "test_quat.h"
+#include "test_project.h"
+#include "test_plane.h"
+#include "test_affine.h"
+#include "test_affine2d.h"
+#include "test_affine_mat.h"
+#include "test_ray.h"
+#include "test_camera.h"
+
+#undef GLM
+#undef GLM_PREFIX
+
+/* test pre-compiled */
+/*---------------------------------------------------------------------------*/
+
+#define GLM_PREFIX glmc_
+#define GLM(X) (glmc_ ## X)
+
+#include "test_vec2.h"
+#include "test_vec3.h"
+#include "test_vec4.h"
+#include "test_ivec2.h"
+#include "test_ivec3.h"
+#include "test_ivec4.h"
+#include "test_mat2.h"
+#include "test_mat3.h"
+#include "test_mat4.h"
+#include "test_quat.h"
+#include "test_project.h"
+#include "test_plane.h"
+#include "test_affine.h"
+#include "test_affine2d.h"
+#include "test_affine_mat.h"
+#include "test_ray.h"
+#include "test_camera.h"
+
+#undef GLM
+#undef GLM_PREFIX
+
+/*---------------------------------------------------------------------------*/