Want to test the add method - code a little - test a
little
- Define a MoneyTest class that extends
TestCase .
- Define a method testSimpleAdd() that:
- creates objects to use in the test case fixtures
- code which exercises the objects in the fixture
- code which verifies the result
previous |
start |
next .... [Slide 4] ....