Sometimes, you may want to test your
procedures without having to make calls to them one by one. Or we may
provide you with some test cases so you can test your procedures and
see if you get the results we expect your programs to give.
DrScheme provides this feature and you can access it from the "
Special" menu: "
Insert Test Case". You will have to
make sure that your procedure definitions occur before the test cases.
Here is an
example test case file. Download it and open it with DrScheme: "
File" > "
Open". (Note, if the download
doesn't work, right click on the link "Here" and choose "Save Link as
...")