Newer
Older
labs / tiddlers / content / labs / lab02 / _Labs_02_First Testing Experiments.tid
section: 3
tags: lab02 lab
title: /Labs/02/First Testing Experiments
type: text/vnd.tiddlywiki

Let's introduce the concept of automated testing using a very simple `Calculator` class.  It will have an `add` method and a `multiply` method, each of which takes two integer parameters and returns the integer result to the caller.

The class diagram looks like:

{{/Labs/02/Diagrams/Calculator Class Diagram}}