README3.txt

For integration testing, we only needed to test the town component.  The town component encompasses all classes, so if this works, all of them work.  Also, our unit testing covered integration testing when needed.  Because some of our classes had dependencies, other classes had to be instantiated for them to work.


int main(){
	Town * t;
	for(i=0;i<1000;i++)
	{
		t=new Town(5,100,g,true,3,50,50);
		for(j=0;j<1000;j++)
		{
			cout<<i<<" "<<j<<endl;
			t->turn();
		}
		delete t;
	}
	cout<<"Town"<<endl;
}

When the town class worked, our final integration test was to integrate it with the GUI and see the output.  Integration with the GUI was simply copying the files to the project folder, instantiating the town class with given inputs from GUI, and loop through the turn function inside town.  The output was then graphed and we were able to conclude if it worked by the graphs' shapes.  When our graphs would display a constant digit, or weird values, we would put cout statements where necessary to figure out the problem.  No small code snippets were used to test the GUI.  As previously stated, we inputted values where needed and clicked the buttons to make sure they worked.