From 8cd0977a3688fa705c83867c57505a47b9269369 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 8 Jan 2023 16:34:43 +0000 Subject: Fix up all the static analyzer warnings --- test/test-helpers.hpp | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 test/test-helpers.hpp (limited to 'test/test-helpers.hpp') 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 -#include - -#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); \ - } \ - } -- cgit v1.2.3