mirror of
https://github.com/catchorg/Catch2.git
synced 2025-06-04 02:47:56 +00:00
Start using piecemeal includes in test files
This commit is contained in:
parent
c381b49c60
commit
26f78f96aa
40 changed files with 88 additions and 98 deletions
|
@ -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.;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue