Lecture overview -- Keyboard shortcut: 'u'  Previous page: Another Unit Test example in C# -- Keyboard shortcut: 'p'  Next page: Test Scaffolding -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Test of Object-oriented Programs - slide 29 : 35

Unit test of struct Interval

Struct Interval was primarily used to introduce overloaded operators

In this lecture we will unit test struct Interval

A slightly revised version of the Interval struct - with an error.
An initial test suite of struct Interval.
Go to exercise
Unit test of struct Interval