14 #include <QtTest/QtTest> 16 #define QHULL_USES_QT 1 60 static QList<RoadTest *>
72 RoadTest() { s_testcases.append(this); } 76 void recordFailedTest(); 80 static void deleteTests(); 81 static int runTests(QStringList arguments);
85 #define TESTadd_(t) extern void t(); t(); 96 return qstrdup(s.c_str());
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
static QList< RoadTest * > s_testcases
static int s_test_fail
! Total number of tests executed
static int runTests(QStringList arguments)
static int s_test_count
! List of testcases to execute. Initialized via add_...()
static QStringList s_failed_tests
! Number of failed tests
char * toString(const std::string &s)
void cleanup()
Executed after each test.