Files
Aethera/render_3D/third_party/datoviz/testing/components/dvztest_math.c
T
2026-08-20 10:23:47 +08:00

48 lines
1.6 KiB
C

/*
* Copyright (c) 2021 Cyrille Rossant and contributors. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for details.
* SPDX-License-Identifier: MIT
*/
/*************************************************************************************************/
/* Datoviz math test runner */
/*************************************************************************************************/
/*************************************************************************************************/
/* Includes */
/*************************************************************************************************/
#include "_log.h"
#include "../../src/math/tests/test_math.h"
#include "datoviz_testing.h"
#include "testing.h"
/*************************************************************************************************/
/* Entry-point */
/*************************************************************************************************/
/**
* Run math-module tests.
*
* @param argc command-line argument count
* @param argv command-line arguments
* @return process exit code
*/
int main(int argc, char** argv)
{
log_set_level_env();
TstSuite suite = tst_suite();
dvz_testing_install_log_adapter(&suite);
test_math(&suite);
int res = tst_suite_run(&suite, argc, argv);
tst_suite_destroy(&suite);
return res;
}