Exemplo n.º 1
0
 void StackTest::run()
 {
     testPushRValuePop();
     testPushPopTopSize();
     testCopyConstructor();
     testMoveConstructor();
     testAssignmentOperator();
     testOutputStreamOperator();
 }
Exemplo n.º 2
0
void MatrixTester::runTests() {
	cout << "Testing class Matrix." << endl;
	testConstructor();
	testEquality();
	testCopyConstructor();
	testAssignment();
        testAddition();
	testTranspose();
	cout << "All tests passed!" << endl;
}
Exemplo n.º 3
0
int main(){

    testEnterAndRetrieve();
    testCopyConstructor();
    testClear();
    testSameKey();
    testGetKeyTypeMap();
    testErrors();

    FINALREPORT("TEST_CONTENT_VALUE");
}
Exemplo n.º 4
0
bool CKDMArray2DTest::testAll(){
	try{
		testSimple();
		testDoublePtr();
		testSinglePtr();
		testVectorPtr();
		testCopyConstructor();
	}
	catch (std::logic_error &e){

		displayError(e.what());
		return false;
	}

	displaySuccess(TEST_FILE_NAME);

	return true;
}