Posted by William D McQuain on December 02, 2001 at 15:05:50:
In Reply to: Re: Output file posted by Jason on December 01, 2001 at 20:12:05:
: : : When a tick occurs, I was under the assumption that a truck well first be given a call, then on the next tick it will advance 1 unit in whatever direction it goes to.
: : Your assumption is wrong. MCQ said the Truck will move 1 spot as soon as it gets the job
: : For the Mover Test data, it shows the mover1 getting a call at tick 1, and on the very same tick is advances from address 9 to 8.. is this correct?
: : It is correct.
: : Can we please have an input/output file that tests all the cases that will be tested in demo. Its hard to determine what to print and when to print if its entirely up to us.
: : Test all the files posted. That will be enough according to MCQ.
: Wrecker file is WRONG. It picks up the car and crushes it all on one tick. That specifically goes against the specs which states "...tick after a wrecker has picked up a victim, it crushes it. " so we cant test our programs yet, until we get valid test data.
The Wrecker file is CORRECT. I've responded to that elsewhere and won't repeat it here.
As to your last point, I'd certainly hope anyone who has completed a year of programming courses is capable of concocting test data from a specification....
Post a Followup