public class CounterTest
extends java.lang.Object
Constructor and Description |
---|
CounterTest() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
static void |
testCombined()
testCombined - test combinations of the increase and decrease methods
|
static void |
testConstructor()
testConstructor - test if the appropriate exception is thrown
|
static void |
testDecrease()
testDecrease - verify that the decrease method works
|
static void |
testEquals()
testEquals - test the equals method
|
static void |
testIncrease()
testIncrease - verify that the increase method works
|
static void |
testToString()
testToString - test the toString method
|
public static void main(java.lang.String[] args)
public static void testConstructor()
public static void testEquals()
public static void testToString()
public static void testIncrease()
public static void testDecrease()
public static void testCombined()