int main () { testMember (); testAssignment(); testMinEl(); testIterator(); BinTree<int> t; t.insertBOT(56) .insertBOT(23) .insertBOT(68) .insertBOT(190) .insertBOT(41) .insertBOT(60) .insertBOT(65) .insertBOT(59); cerr << "digraph G{" << endl; t.dottyPrint (cerr); cerr << "}\n"; prettyPrint<int> (t.rootIter()); testMakeTree(); return 0; }
void MatrixTester::runTests() { cout << "Testing class Matrix." << endl; testConstructor(); testEquality(); testCopyConstructor(); testAssignment(); testAddition(); testTranspose(); cout << "All tests passed!" << endl; }
void simpleMatrixTest::Run() { printf("\tsimpleMatrixTest..."); testConstructor(); testAssignment(); testElementAssignment(); testElementExtraction(); testTranspose(); testUnsafeConstructor(); testUnsafeAssignment(); testUnsafeElementAssignment(); testUnsafeElementExtraction(); printf("passed\n"); }