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 and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Page 29 : 35
Object-oriented Programming in C#
Test of Object-oriented Programs
Unit test of struct Interval

Struct Interval was primarily used to introduce overloaded operators

In this lecture we will unit test struct Interval

/user/normark/oop-csharp-1/sources/c-sharp/unit-testing/interval-exercise/IntervalWithError.csA slightly revised version of the Interval struct - with an error.


/user/normark/oop-csharp-1/sources/c-sharp/unit-testing/interval-exercise/Interval-test-initial-single.csAn initial test suite of struct Interval.


Go to exerciseUnit test of struct Interval