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

@@ -391,7 +391,7 @@ TEST_CASE("measure", "[benchmark]") {
TEST_CASE("run benchmark", "[benchmark]") {
counting_clock::set_rate(1000);
auto start = counting_clock::now();
Catch::Benchmark::Benchmark bench{ "Test Benchmark", [](Catch::Benchmark::Chronometer meter) {
counting_clock::set_rate(100000);
meter.measure([] { return counting_clock::now(); });