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"); }
string TestCell::allTests() { //For each testing function, run and concatenate the results to output string string output = ""; output += testConstructor(); output += testStep(); output += testEvolve(); output += testAssign_Apoptosis(); output += testAssign_Proliferation(); output += testAssign_Differentiation(); output += testAssign_Move(); if (output == "") output = "All tests passed successfully\n"; return output; }