merge test sources into one C source

This commit is contained in:
Recep Aslantas
2020-01-19 22:12:25 +03:00
parent 406d09e085
commit c630293c7d
13 changed files with 53 additions and 386 deletions

43
test/src/tests.c Normal file
View File

@@ -0,0 +1,43 @@
/*
* 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_vec3.h"
#include "test_vec4.h"
#include "test_mat3.h"
#include "test_mat4.h"
#include "test_quat.h"
#include "test_project.h"
#include "test_plane.h"
#undef GLM
#undef GLM_PREFIX
/* test pre-compiled */
/*---------------------------------------------------------------------------*/
#define GLM_PREFIX glmc_
#define GLM(X) (glmc_ ## X)
#include "test_vec3.h"
#include "test_vec4.h"
#include "test_mat3.h"
#include "test_mat4.h"
#include "test_quat.h"
#include "test_project.h"
#include "test_plane.h"
#undef GLM
#undef GLM_PREFIX
/*---------------------------------------------------------------------------*/