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