Home
last modified time | relevance | path

Searched refs:assertion_failure (Results 1 – 2 of 2) sorted by relevance

/external/fmtlib/test/
Dtest-assert.h15 class assertion_failure : public std::logic_error {
17 explicit assertion_failure(const char* message) : std::logic_error(message) {} in assertion_failure() function
23 void assertion_failure::avoid_weak_vtable() {} in avoid_weak_vtable()
26 if (!(condition)) throw assertion_failure(message);
30 FMT_TEST_THROW_(stmt, assertion_failure, message, GTEST_NONFATAL_FAILURE_)
Dformat-impl-test.cc92 EXPECT_THROW(n *= 0, assertion_failure); in TEST()
144 EXPECT_THROW(bigint(0).divmod_assign(zero), assertion_failure); in TEST()
145 EXPECT_THROW(bigint(42).divmod_assign(zero), assertion_failure); in TEST()
150 EXPECT_THROW(n.divmod_assign(n), assertion_failure); in TEST()
274 EXPECT_THROW(get_round_direction(100, 100, 0), assertion_failure); in TEST()
275 EXPECT_THROW(get_round_direction(100, 0, 100), assertion_failure); in TEST()
276 EXPECT_THROW(get_round_direction(100, 0, 50), assertion_failure); in TEST()
299 assertion_failure); in TEST()