/*
Programmer: Jennifer Leopold Date: November 7, 2015
File: hw9_main.cpp
Purpose: Program that simulates a road with animals and
cars occupying various portions (i.e., "sectors")
of the road).
To compile: fg++ hw9_main.cpp hw9_functs.cpp
animal.cpp car.cpp road.cpp -o hw9
To execute: ./hw9
*/
#include <iostream>
#include <ctime>
#include <cstdlib>
#include "hw9_functs.h"
#include "Animal.h"
#include "Car.h"
#include "Road.h"
using namespace std;
int main()
{
// Seed the random number generator
srand(time(NULL));
cout << "\nTesting will now begin...\n";
// Test the functions associated with the Animal class
testAnimal();
// Test the functions associated with the Car class
testCar();
// Test the functions associated with the Road class
testRoad();
// Test Car with Road
testCarWithRoad();
cout << "\nTesting has completed.\n";
return 0;
}