Searched refs:TEST_EXCEPTION (Results 1 – 2 of 2) sorted by relevance
/third_party/boost/libs/math/test/ |
D | test_error_handling.cpp | 114 #define TEST_EXCEPTION(expression, exception, msg)\ macro 145 …TEST_EXCEPTION(boost::math::policies::raise_domain_error(func, msg1, T(0.0), throw_policy), std::d… in test_error() 146 …TEST_EXCEPTION(boost::math::policies::raise_domain_error(func, 0, T(0.0), throw_policy), std::doma… in test_error() 147 …TEST_EXCEPTION(boost::math::policies::raise_pole_error(func, msg1, T(0.0), throw_policy), std::dom… in test_error() 148 …TEST_EXCEPTION(boost::math::policies::raise_pole_error(func, 0, T(0.0), throw_policy), std::domain… in test_error() 149 …TEST_EXCEPTION(boost::math::policies::raise_overflow_error<T>(func, msg2, throw_policy), std::over… in test_error() 150 …TEST_EXCEPTION(boost::math::policies::raise_overflow_error<T>(func, 0, throw_policy), std::overflo… in test_error() 151 …TEST_EXCEPTION(boost::math::policies::raise_underflow_error<T>(func, msg2, throw_policy), std::und… in test_error() 152 …TEST_EXCEPTION(boost::math::policies::raise_underflow_error<T>(func, 0, throw_policy), std::underf… in test_error() 153 …TEST_EXCEPTION(boost::math::policies::raise_denorm_error<T>(func, msg2, T(0), throw_policy), std::… in test_error() [all …]
|
/third_party/python/Lib/test/ |
D | test_with.py | 192 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)
|