Clean up formatting.

This commit is contained in:
Allison Vacanti
2021-02-04 18:54:44 -05:00
parent e302583c67
commit 74d19a8e16
2 changed files with 4 additions and 5 deletions

View File

@@ -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)

View File

@@ -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