Start using piecemeal includes in test files

This commit is contained in:
Martin Hořeňovský
2020-01-20 23:24:04 +01:00
parent c381b49c60
commit 26f78f96aa
40 changed files with 88 additions and 98 deletions

View File

@@ -6,10 +6,13 @@
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <catch2/catch_approx.h>
#include <cmath>
using Catch::Detail::Approx;
namespace { namespace ApproxTests {
#ifndef APPROX_TEST_HELPERS_INCLUDED // Don't compile this more than once per TU