Exercise 9: Exploring an API through Tests

Without looking at the JavaDoc, can you add null to a Fraction? What happens if you do? i.e.

Write a test that determines the answer to this question, and then adjust it to match the behavior.


Previous | Next | Top | Cafe con Leche | Cafe au Lait

Copyright 2005 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified November 11, 2005