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/TemplatesTesting.h"
#include "Miscellaneous/AssertionMacros.h"
#include "Miscellaneous/Compare.h"
#include "Templates/Templates.h"
@ -11,6 +12,8 @@ NAMESPACE_REDCRAFT_BEGIN
NAMESPACE_MODULE_BEGIN(Redcraft)
NAMESPACE_MODULE_BEGIN(Utility)
NAMESPACE_BEGIN(Testing)
void TestTemplates()
{
TestInvoke();
@ -348,6 +351,8 @@ void TestMiscTemplates()
always_check(AddressOf(TestMiscTemplates) == &TestMiscTemplates);
}
NAMESPACE_END(Testing)
NAMESPACE_MODULE_END(Utility)
NAMESPACE_MODULE_END(Redcraft)
NAMESPACE_REDCRAFT_END