Home
last modified time | relevance | path

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

/third_party/boost/libs/math/test/
Dtest_error_handling.cpp114 #define TEST_EXCEPTION(expression, exception, msg)\ macro
145TEST_EXCEPTION(boost::math::policies::raise_domain_error(func, msg1, T(0.0), throw_policy), std::d… in test_error()
146TEST_EXCEPTION(boost::math::policies::raise_domain_error(func, 0, T(0.0), throw_policy), std::doma… in test_error()
147TEST_EXCEPTION(boost::math::policies::raise_pole_error(func, msg1, T(0.0), throw_policy), std::dom… in test_error()
148TEST_EXCEPTION(boost::math::policies::raise_pole_error(func, 0, T(0.0), throw_policy), std::domain… in test_error()
149TEST_EXCEPTION(boost::math::policies::raise_overflow_error<T>(func, msg2, throw_policy), std::over… in test_error()
150TEST_EXCEPTION(boost::math::policies::raise_overflow_error<T>(func, 0, throw_policy), std::overflo… in test_error()
151TEST_EXCEPTION(boost::math::policies::raise_underflow_error<T>(func, msg2, throw_policy), std::und… in test_error()
152TEST_EXCEPTION(boost::math::policies::raise_underflow_error<T>(func, 0, throw_policy), std::underf… in test_error()
153TEST_EXCEPTION(boost::math::policies::raise_denorm_error<T>(func, msg2, T(0), throw_policy), std::… in test_error()
[all …]
/third_party/python/Lib/test/
Dtest_with.py192 self.TEST_EXCEPTION = RuntimeError("test exception")
217 raise self.TEST_EXCEPTION
224 self.assertEqual(mock_manager.exit_args[1], self.TEST_EXCEPTION)
225 exc_type = type(self.TEST_EXCEPTION)