catch2/tests/SelfTest/IntrospectiveTests
Martin Hořeňovský 47a2c96938
Reduce the number of templates in Benchmarking
The basic idea was to reduce the number of things dependent on the `Clock`
type. To that end, I replaced `Duration<Clock>` with `IDuration` typedef
for `std::nanoseconds`, and `FloatDuration<Clock>` with `FDuration`
typedef for `Duration<double, std::nano>`. We can generally assume that
any clock's duration can be expressed in nanoseconds, as long as we insert
`duration_cast`s into the right places.

Note that we cannot remove all dependence on `Clock` as a template
arguments, because functions that actually measure the elapsed time have
to use the Clock.

We also changed some template function arguments to pass plain function
pointers, so that the actual implementation can be placed into a cpp file.
2023-09-08 10:04:31 +02:00
..
Algorithms.tests.cpp Add Catch::Detail::is_permutation that supports sentinels 2023-02-06 15:29:01 +01:00
AssertionHandler.tests.cpp Assert Info reset need to also reset result disposition to normal to handle uncaught exception correctly (#2723) 2023-08-07 22:07:31 +02:00
Clara.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
CmdLine.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
CmdLineHelpers.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
ColourImpl.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Details.tests.cpp Static analysis cleanup in tests 2023-05-29 21:45:30 +02:00
FloatingPoint.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
GeneratorsImpl.tests.cpp Support C arrays and ADL ranges in from_range generator 2023-08-29 15:38:13 +02:00
InternalBenchmark.tests.cpp Reduce the number of templates in Benchmarking 2023-09-08 10:04:31 +02:00
Parse.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
PartTracker.tests.cpp Avoid allocations when looking for trackers 2023-01-29 10:14:20 +01:00
RandomNumberGeneration.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Reporters.tests.cpp Static analysis cleanup in tests 2023-05-29 21:45:30 +02:00
Sharding.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Stream.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
String.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
StringManip.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Tag.tests.cpp Improve error messages for TEST_CASE tag parsing errors 2023-05-20 21:13:48 +02:00
TestCaseInfoHasher.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
TestSpec.tests.cpp Split out parseTestSpec into test-only helpers 2022-10-28 13:27:46 +02:00
TestSpecParser.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
TextFlow.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
ToString.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Traits.tests.cpp Support decomposing types that only compare with literal 0 2022-11-04 19:24:44 +01:00
UniquePtr.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Xml.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00