tests/harness/testmacros.h File Reference

Macros for testing conditions hold. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define TEST_REL(A, REL, B)
 Test a relation holds,e.g. TEST_REL(a,>,b);.


Detailed Description

Macros for testing conditions hold.

Definition in file testmacros.h.


Define Documentation

#define TEST_REL ( A,
REL,
 ) 

Value:

TEST_AND_EXPLAIN((A) REL (B), \
        "Evaluates to: " << (A) << " "#REL" " << (B))
Test a relation holds,e.g. TEST_REL(a,>,b);.

Definition at line 26 of file testmacros.h.

Referenced by check_vals(), dbcheck(), DEFINE_TESTCASE(), CheckStatsWeight::get_sumpart(), qp_scale1_helper(), test_pack_uint_preserving_sort1(), and test_scalability().


Documentation for Xapian (version 1.2.13).
Generated on 9 Jan 2013 by Doxygen 1.5.9.