Exemplo n.º 1
0
int main() {

	DynamicStack <int> testStack;
	
	if(testStack.intTest())
		cout << "int test passed" <<endl;
	else 
		cout << "int test failed" << endl;
	
	DynamicStack <char> test2Stack;
	
	if(testStack.charTest())
		cout << "char test passed" <<endl;
	else 
		cout << "char test failed" << endl;
		
	DynamicStack <string> test3Stack;
	
	if(testStack.stringTest())
		cout << "string test passed" <<endl;
	else 
		cout << "string test failed" << endl;
		
    system("pause");
}