#include "Util/StringConversions.H"
#include "Util/Types.H"
#include <string>
Go to the source code of this file.
Classes | |
class | TestSuite |
TestSuite manages a set of tests. More... | |
Defines | |
#define | ADD_TEST(x) addTest(#x, &x); |
#define | REQUIRE_EQ(expr, targ) suite.requireEq((expr), (targ), __FILE__, __LINE__, #expr) |
#define | REQUIRE_EQFP(expr, targ, prec) suite.requireEq((expr), (targ), prec, __FILE__, __LINE__, #expr) |
#define | REQUIRE_EQ_USERTYPE(expr, targ) suite.requireEqUserType((expr), (targ), __FILE__, __LINE__, #expr) |
#define | REQUIRE(expr) suite.require((expr), __FILE__, __LINE__, #expr) |
#define | REQUIRE_NEQ(lhs, rhs) suite.require((lhs), TestSuite::NEQ, (rhs), __FILE__, __LINE__, #lhs, #rhs) |
#define | REQUIRE_LT(lhs, rhs) suite.require((lhs), TestSuite::LT, (rhs), __FILE__, __LINE__, #lhs, #rhs) |
#define | REQUIRE_LTE(lhs, rhs) suite.require((lhs), TestSuite::LTE, (rhs), __FILE__, __LINE__, #lhs, #rhs) |
#define | REQUIRE_GT(lhs, rhs) suite.require((lhs), TestSuite::GT, (rhs), __FILE__, __LINE__, #lhs, #rhs) |
#define | REQUIRE_GTE(lhs, rhs) suite.require((lhs), TestSuite::GTE, (rhs), __FILE__, __LINE__, #lhs, #rhs) |
Typedefs | |
typedef void(* | TestFunc )(TestSuite &) |
Class to manage a suite of tests
Definition in file TestSuite.H.