diff options
| author | Martin Hořeňovský | 2020-01-20 23:24:04 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-01-21 10:03:54 +0100 |
| commit | 26f78f96aa6eed4be97281b5b740ab0cf0466c48 (patch) | |
| tree | 1ed75a6974a364c78f51c426b0a0044217260952 /tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp | |
| parent | c381b49c60e7c1d6b354b67ca168b2af58c42f13 (diff) | |
| download | catch3-26f78f96aa6eed4be97281b5b740ab0cf0466c48.tar.gz | |
Start using piecemeal includes in test files
Diffstat (limited to 'tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp')
| -rw-r--r-- | tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp b/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp index a8aaf967..3406480e 100644 --- a/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp @@ -1,4 +1,7 @@ -#include <catch2/catch.hpp> +#include <catch2/catch_approx.h> +#include <catch2/catch_test_macros.hpp> +#include <catch2/catch_generators_generic.hpp> +#include <catch2/catch_generators_specific.hpp> // Tests of generator implementation details TEST_CASE("Generators internals", "[generators][internals]") { @@ -175,6 +178,7 @@ TEST_CASE("Generators internals", "[generators][internals]") { } SECTION("Floating Point") { + using Catch::Detail::Approx; SECTION("Exact") { const auto rangeStart = -1.; const auto rangeEnd = 1.; |