Lecture overview -- Keyboard shortcut: 'u'  Previous page: A Unit Test example in C# (1) -- Keyboard shortcut: 'p'  Next page: NUnit for C# -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 23 : 35
Object-oriented Programming in C#
Test of Object-oriented Programs
A Unit Test example in C# (2)

Unit test of an erroneous version of class BankAccount

/user/normark/oop-csharp-1/sources/c-sharp/unit-testing/bank-not-ok/bank-account.csThe class BankAccount - with an error.


/user/normark/oop-csharp-1/sources/c-sharp/unit-testing/bank-not-ok/bank-account-test.csThe class BankAccountTest - same as before.


A screenshot of NUnit - some tests fail