Unit Testing Exercises

These exercises have not yet been developed.


Instructions: Create a new notebook called UnitTestingExercises in your `UnitTesting directory and solve the following problems inside it. Be sure to include the problem statements in a markdown cell above your solution. You don't need to put the "helper" code in the markdown cell, just implement the helper code in your code cell with your solution.

Preliminaries: At the top of your notebook, include a "Heading 1" cell with the title Unit Testing Exercises. Then include the inline functions and libraries by adding a code cell that invokes the %pylab inline magic and imports the needed packages.


Question 1

(a) Not yet developed.


In [1]:
#Copy the exercise statement to a markdown cell in your notebook and then implement a solution in a code cell

(b) Not yet developed.


In [2]:
#Copy the exercise statement to a markdown cell in your notebook and then implement a solution in a code cell

All content is under a modified MIT License, and can be freely used and adapted. See the full license text here.