public class Tester
extends java.lang.Object
| Constructor and Description |
|---|
Tester() |
| Modifier and Type | Method and Description |
|---|---|
static void |
runTests(HappinessDetector detector)
Runs tests to determine if the detector correctly determines if numbers are happy and prints the results.
|
public static void runTests(HappinessDetector detector)
detector - an instance of the class to be tested