Example #1
0
int main() {

	testConstructorsAndAssignment();
	testOperators();
	testAccess();
	testPushPop();
	testIteration();
    testExceptions();
	testIterationConstness();

	return 0;
}
Example #2
0
	bool TestBTree::doTest()
	{
		if( benchmark )
		{
			doBenchmark();
			return true;
		}
		else
		{
			return testRandom() && testClear() && testIteration() 
				&& testComparisons() && testSearching() && testSwap() 
				&& testInsert() && testErase() && testCopy();
		}
	}