Commit b72b5d0f99f005851e53daa47c0f7efe132dbf0b

Pierre Wendling 2022-05-04T12:39:49

Test: Add math automation test suite.

diff --git a/test/testautomation_math.c b/test/testautomation_math.c
new file mode 100644
index 0000000..5ac6ea3
--- /dev/null
+++ b/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};
diff --git a/test/testautomation_suites.h b/test/testautomation_suites.h
index b5f921e..a8c8863 100644
--- a/test/testautomation_suites.h
+++ b/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
 };