Continuing refactor work.

This commit is contained in:
2023-10-19 00:37:56 -07:00
parent 8d02d078e7
commit 36fe049485
28 changed files with 1658 additions and 122 deletions

View File

@@ -144,5 +144,5 @@ DefaultEpsilon(float &epsilon)
}
} // namespace math
} // namespace scmp

View File

@@ -37,4 +37,4 @@ Heading3d(Vector3d vec)
} // namespace geom
} // namespace math
} // namespace scmp

View File

@@ -88,4 +88,4 @@ Quaternion_SelfTest()
} // namespace geom
} // namespace math
} // namespace scmp

View File

@@ -20,7 +20,7 @@
/// PERFORMANCE OF THIS SOFTWARE.
///
#include <scsl/Exceptions.h>
#include "sctest/Exceptions.h"
#include <sctest/Assert.h>
#include <cassert>
@@ -28,10 +28,10 @@
#include <sstream>
namespace scsl {
namespace sctest {
void
TestAssert(bool condition, std::string message)
Assert(bool condition, std::string message)
{
#if defined(NDEBUG) || defined(SCSL_NOEXCEPT)
if (!condition) {
@@ -47,7 +47,7 @@ TestAssert(bool condition, std::string message)
void
TestAssert(bool condition)
Assert(bool condition)
{
#if defined(NDEBUG)
if (condition) {
@@ -67,4 +67,4 @@ TestAssert(bool condition)
}
} // namespace scsl
} // namespace sctest

View File

@@ -20,10 +20,10 @@
/// PERFORMANCE OF THIS SOFTWARE.
///
#include <scsl/Exceptions.h>
#include <sctest/Exceptions.h>
namespace scsl {
namespace sctest {
AssertionFailed::AssertionFailed(std::string message) : msg(message) {}
@@ -36,4 +36,4 @@ AssertionFailed::what() const throw()
}
}
} // namespace sctest