Test: Add math automation test suite.

main
Pierre Wendling 2022-05-04 12:39:49 -04:00 committed by Sam Lantinga
parent 86f50ae7d7
commit b72b5d0f99
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,10 @@
/**
* Math test suite
*/
#include "SDL.h"
#include "SDL_test.h"
static const SDLTest_TestCaseReference* mathTests[] = {NULL};
SDLTest_TestSuiteReference mathTestSuite = {"Math", NULL, mathTests, NULL};

View File

@ -27,6 +27,7 @@ extern SDLTest_TestSuiteReference syswmTestSuite;
extern SDLTest_TestSuiteReference timerTestSuite; extern SDLTest_TestSuiteReference timerTestSuite;
extern SDLTest_TestSuiteReference videoTestSuite; extern SDLTest_TestSuiteReference videoTestSuite;
extern SDLTest_TestSuiteReference hintsTestSuite; extern SDLTest_TestSuiteReference hintsTestSuite;
extern SDLTest_TestSuiteReference mathTestSuite;
/* All test suites */ /* All test suites */
SDLTest_TestSuiteReference *testSuites[] = { SDLTest_TestSuiteReference *testSuites[] = {
@ -48,6 +49,7 @@ SDLTest_TestSuiteReference *testSuites[] = {
&timerTestSuite, &timerTestSuite,
&videoTestSuite, &videoTestSuite,
&hintsTestSuite, &hintsTestSuite,
&mathTestSuite,
NULL NULL
}; };