1
2
3
4
5
6 #ifndef CMAJOR_RT_UNIT_TEST_INCLUDED
7 #define CMAJOR_RT_UNIT_TEST_INCLUDED
8 #include <cmajor/rt/RtApi.hpp>
9 #include <stdint.h>
10
11 extern "C" void RtStartUnitTest(int32_t numAssertions, const char* unitTestFilePath, int64_t numberOfPolymorphicClassIds, const uint64_t* polymorphicClassIdArray,
12 int64_t numberOfStaticClassIds, const uint64_t* staticClassIdArray);
13 extern "C" void RtEndUnitTest(const char* testName, int32_t exitCode);
14 extern "C" void RtSetUnitTestAssertionResult(int32_t assertionIndex, bool assertionResult, int32_t line);
15 extern "C" void RtSetUnitTestException(const char* exceptionStr);
16
17 #endif // CMAJOR_RT_UNIT_TEST_INCLUDED