refactor(testing): put all test functions under the Testing namespace

This commit is contained in:
2022-03-19 13:35:27 +08:00
parent c69ed3b9e1
commit c7d6c780b9
11 changed files with 45 additions and 1 deletions

View File

@ -1,4 +1,5 @@
#include "Testing/MiscellaneousTesting.h"
#include "Miscellaneous/AssertionMacros.h"
#include "Miscellaneous/TypeInfo.h"
#include "Miscellaneous/Compare.h"
@ -7,6 +8,8 @@ NAMESPACE_REDCRAFT_BEGIN
NAMESPACE_MODULE_BEGIN(Redcraft)
NAMESPACE_MODULE_BEGIN(Utility)
NAMESPACE_BEGIN(Testing)
void TestMiscellaneous()
{
TestAssertionMacros();
@ -234,6 +237,8 @@ void TestTypeInfo()
always_check((TempE <=> TempF) != 0);
}
NAMESPACE_END(Testing)
NAMESPACE_MODULE_END(Utility)
NAMESPACE_MODULE_END(Redcraft)
NAMESPACE_REDCRAFT_END