Due Friday, December 2 at 11:59 PM
By the time you have completed this work, you should be able to:
Download arithmetic_tester.pl
.
You will need to implement two procedures in this file:
makeTest
makeTestWithNums
It is recommended to write makeTest
first, and to make sure it's working first before moving on to makeTestWithNums
.
To this end, there is a test suite provided for both procedures (that is, a test suite for the test suite generator), with testMakeTest
and testMakeTestWithNums
, respectively.
The comments in arithmetic_tester.pl
provide further details.
You can implement these procedures however you wish, as long as it doesn't change how they are called. You can introduce as many helper procedures as you like. As a hint, it's possible to share some helpers between the same procedures which may help simplify things, though you are not required to implement things this way.
Log into Canvas, and go to the COMP 410 class. Click “Assignments” on the left pane, then click “Assignment 6”. From here, you need to upload the following file:
arithmetic_tester.pl
In addition, if you collaborated with anyone else, be sure to download collaborators.txt
and write the names of the people you collaborated with in the file, one per line.
Please submit this file along with the other file.
You can turn in the assignment multiple times, but only the last version you submitted will be graded.