mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
Clean up formatting.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
__LINE__, \
|
||||
#cond, \
|
||||
fmt::format(fmtstr, __VA_ARGS__)); \
|
||||
std::fflush(stdout); \
|
||||
std::fflush(stdout); \
|
||||
throw std::runtime_error("Unit test failure."); \
|
||||
} \
|
||||
} while (false)
|
||||
@@ -53,7 +53,7 @@
|
||||
__FILE__, \
|
||||
__LINE__, \
|
||||
#expr); \
|
||||
std::fflush(stdout); \
|
||||
std::fflush(stdout); \
|
||||
throw std::runtime_error("Unit test failure."); \
|
||||
} \
|
||||
} while (false)
|
||||
|
||||
@@ -84,11 +84,10 @@ struct test_prepend_each
|
||||
static_assert(std::is_same_v<nvbench::tl::prepend_each<T, TLs>, Expected>);
|
||||
};
|
||||
|
||||
struct test_empty_cartesian_product
|
||||
struct test_empty_cartesian_product
|
||||
{
|
||||
using prod = nvbench::tl::cartesian_product<nvbench::type_list<>>;
|
||||
static_assert(
|
||||
std::is_same_v<prod, nvbench::type_list<nvbench::type_list<>>>);
|
||||
static_assert(std::is_same_v<prod, nvbench::type_list<nvbench::type_list<>>>);
|
||||
};
|
||||
|
||||
struct test_single_cartesian_product
|
||||
|
||||
Reference in New Issue
Block a user