Lab 2: The Variety of Unit Test Scenaria

Learn to compare simple objects

Test equality of data in unions

Why instanceof does not work correctly


Lab description: lab2.pdf or lab2.html


Code for the lab:


Read this note for the explanation and motivation for the design of the checkInexact tests and the reporting of inexact test results.

Schedule