Instructions on how to run the tests:

Each test corresponds to one of the problems in the assignment. For each problem there may be one or more tests. 

Before youre able to run the tests, you must follow these general steps:
1.	Copy all the contents of the archive to a folder in your Grace account. 
2.	Change the directory to that folder
3.	Run the command: tap allegro81
4.	Run the command: chmod 711 run_all.sh
5.	Run the command: chmod 711 clean_all.sh


In order to run a particular test, run the command:

mlisp -L tester.lisp -L [your project file] -\#! [test input]

For example:

mlisp -L tester.lisp -L myfile.lisp -\#! 1_a.in

This will call the function in your source file associated to that particular test with a set of fixed arguments, and will output your result. 


In order to check the correctness of your result, run:

mlisp -L tester.lisp -L [your project file] -\#! [test input] > [your test output]

gdiff -u [official output] [your test output]

For example:

mlisp -L tester.lisp -L myfile.lisp -\#! 1_a.in > 1_a.out.student

gdiff -u 1_a.out 1_a.out.student

The output should be empty. If its not empty, theres something wrong with your function and you should correct it. (You will receive 0 for the project if it doesnt pass the provided tests as described above!)


In order to test all your solutions, run the following:

./run_all.sh [your project file]

For example:

./run_all.sh myfile.lisp

This will output two sets of files:
1.	Your outputs (of the form [output file].student - for example 1_a.out.student)
2.	The diffs between your output and the correct one (of the form [output file].dif - for example 1_a.dif)

If your functions are correct, then the dif files will be empty.

Note: These tests will only be used for sanity checking. If the tests pass, you will be graded on the actual requirements of the problems (efficiency, use of the allowed functions, etc.)

