A driver is a simple main function which cals a function
being tested and permits direct
control of testing.
Example
float FuelMoment (int);
int main()
{
int testVal;
cout << Fuel moment for
gallons from 10 565 in steps
<< of 15: << endl;
testVal = 10;
while (testVal <= 565)
{
cout << FuelMoment(testVal) << endl;
testVal = testVal + 15;
}
}