Continuing refactor work.
This commit is contained in:
@@ -144,5 +144,5 @@ DefaultEpsilon(float &epsilon)
|
||||
}
|
||||
|
||||
|
||||
} // namespace math
|
||||
} // namespace scmp
|
||||
|
||||
|
||||
@@ -37,4 +37,4 @@ Heading3d(Vector3d vec)
|
||||
|
||||
|
||||
} // namespace geom
|
||||
} // namespace math
|
||||
} // namespace scmp
|
||||
|
||||
@@ -88,4 +88,4 @@ Quaternion_SelfTest()
|
||||
|
||||
|
||||
} // namespace geom
|
||||
} // namespace math
|
||||
} // namespace scmp
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user