| 197 | */ |
| 198 | template <class T> |
| 199 | void assertLessEqual( const T& expected, |
| 200 | const T& actual, |
| 201 | SourceLine sourceLine, |
| 202 | const std::string& message ) |
| 203 | { |
| 204 | if ( !assertion_traits<T>::lessEqual(actual,expected) ) |
| 205 | { |
| 206 | Asserter::failNotLessEqual( assertion_traits<T>::toString(expected), |
| 207 | assertion_traits<T>::toString(actual), |
| 208 | sourceLine, |
| 209 | message ); |
| 210 | } |
| 211 | } |
| 212 | |
| 213 | /*! \brief (Implementation) Asserts that two objects of the same type are equals. |
| 214 | * Use CPPUNIT_ASSERT_LESSEQUAL, CPPUNIT_ASSERT_GREATEREQUAL instead of this function. |
nothing calls this directly
no test coverage detected