## CSci 1301: Problem Set 7

#### Due: Wednesday Dec 4 at 11:59pm by e-mail

You are required to write signatures and descriptions for all
functions, and also descriptions of all your structures. Additionally,
functions, except the world problems, must be tested using
check-expect. Write your tests before you write a function (but feel
free to add more after it's been writen).

The quality of your tests will
be graded.
Make sure to have enough test cases to
demonstrate that the function is correct.
I may take
points off for a lack of testing (in addition to those taken off for incorrect behavior)
if your function doesn't work on
particular expected data and there is no test for it. It's much better
to leave a test that fails (perhaps in comments) that shows that the function
doesn't work on given data and you don't know how to fix it.

### Problems:

- Exercise 210 section 17.1 (5 points)
- Exercise 220 section 18.6 (6 points)
- Exercise 222 section 18.6 (10 points)
- Exercise 223 section 18.6 (10 points)
- Exercise 224 section 18.6 (6 points)
- Exercise 231 section 19.1, parts 1,2,3 only. Make sure to test your functions. (6 points).

CSci 1301
course web site.

The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota.