| Macro SEQAN_ASSERT_LT Test that the two given expressions are in the less-than relation as defined by the matching call to operator<(,). SEQAN_ASSERT_LT(expression1, expression2) SEQAN_ASSERT_LT(expression1, expression2, comment[, parameters]) Remarks The main advantage of this macro is that it prints the values of its argument on failures. Note that the operator<< to the type of std::cerr has to be defined for the type of both expression parameters. Otherwise, simply use the equivalent SEQAN_ASSERT call. See SEQAN_CHECK and SEQAN_FAIL for (conditionally) aborting your program regardless of debug settings. Examples SEQAN_ASSERT_LT(0, 1); // will run through SEQAN_ASSERT_LT(1, 1); // will not run through SEQAN_ASSERT_LT_MSG(1, 1, "msg"); // will fail with message See Also SEQAN_ASSERT_GEQ, SEQAN_ASSERT_EQ, SEQAN_ASSERT, SEQAN_CHECK, SEQAN_FAIL, SEQAN_ASSERT_LEQ, SEQAN_ASSERT_IN_DELTA, SEQAN_ASSERT_NOT, SEQAN_ASSERT_NEQ, SEQAN_ASSERT_GT SeqAn - Sequence Analysis Library - www.seqan.de

Page built @2014/10/13 16:12:59