MCPcopy Create free account
hub / github.com/FlightGear/flightgear / assertLessEqual

Function assertLessEqual

3rdparty/cppunit/include/cppunit/TestAssert.h:199–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 */
198template <class T>
199void 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.

Callers

nothing calls this directly

Calls 1

toStringFunction · 0.85

Tested by

no test coverage detected