summaryrefslogtreecommitdiff
path: root/test/test-helpers.hpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-01-08 16:34:43 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-01-08 16:34:43 +0000
commit8cd0977a3688fa705c83867c57505a47b9269369 (patch)
treeb7b48711051299607077ed31fdf3b3f6dd6cc41f /test/test-helpers.hpp
parentTidy shadow map creation (diff)
downloadilt-8cd0977a3688fa705c83867c57505a47b9269369.tar.bz2
ilt-8cd0977a3688fa705c83867c57505a47b9269369.tar.xz
ilt-8cd0977a3688fa705c83867c57505a47b9269369.zip
Fix up all the static analyzer warnings
Diffstat (limited to 'test/test-helpers.hpp')
-rw-r--r--test/test-helpers.hpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/test-helpers.hpp b/test/test-helpers.hpp
deleted file mode 100644
index 5ebbea9..0000000
--- a/test/test-helpers.hpp
+++ /dev/null
@@ -1,21 +0,0 @@
-#pragma once
-
-#include <boost/test/tools/context.hpp>
-#include <boost/test/tools/interface.hpp>
-
-#define BOOST_CHECK_CLOSE_VEC(a_, b_) \
- { \
- const auto a {a_}, b {b_}; \
- BOOST_TEST_CONTEXT("BOOST_CHECK_CLOSE_VEC(" << a << ", " << b << ")") { \
- BOOST_CHECK_LT(glm::length(a - b), 0.1F); \
- } \
- }
-
-#define BOOST_CHECK_BETWEEN(a_, b_, c_) \
- { \
- const auto a {a_}, b {b_}, c {c_}; \
- BOOST_TEST_CONTEXT("BOOST_CHECK_BETWEEN(" << a << ", " << b << ", " << c << ")") { \
- BOOST_CHECK_LE(b, a); \
- BOOST_CHECK_GE(c, a); \
- } \
- }