Browse Source

Test: Add math automation test suite.

Pierre Wendling 3 years ago
parent
commit
b72b5d0f99
2 changed files with 12 additions and 0 deletions
  1. 10 0
      test/testautomation_math.c
  2. 2 0
      test/testautomation_suites.h

+ 10 - 0
test/testautomation_math.c

@@ -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};

+ 2 - 0
test/testautomation_suites.h

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