// Stack Test Prog

#include "stack.h"
#include "stack.cpp"
#include <stdio.h>
#include <iostream.h>

int main()
{
	Stack s;
	cout << "isEmpty: " << s.isEmpty() << endl;	
	for(int i=1; i<4; i++)
	{
		s.push(i);
	}
	cout << "isEmpty: " << s.isEmpty() << endl;

	cout << "getTop: " << s.getTop() << endl;
	
	for(int j=0; j<3; j++)
	{
		cout << "pop: " << s.pop() << endl;
	}
	cout << "isEmpty: " << s.isEmpty() << endl;
	
	//cout << "getTop: " << s.getTop() << endl;		// ERROR

	return 0;
}