mirror of https://github.com/encounter/SDL.git
Test: Add math automation test suite.
This commit is contained in:
parent
86f50ae7d7
commit
b72b5d0f99
|
@ -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};
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue