catch2/tests
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
..
ExtraTests Clean up explanation in tests 2023-07-12 11:49:43 +02:00
SelfTest Reduce the number of templates in Benchmarking 2023-09-08 10:04:31 +02:00
TestScripts 2 more TEST_CASEs to DiscoverTests/register-tests.cpp 2023-07-04 00:06:24 +02:00
CMakeLists.txt 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
meson.build Add Catch::Detail::is_permutation that supports sentinels 2023-02-06 15:29:01 +01:00