|
|
| RunArrayedStackTester.java |
class RunArrayedStackTester {
public static void main(String args[]) {
ArrayedStackTester tester = new ArrayedStackTester();
// run test suite for stacks with sizes
// between 1 and 5
tester.runTestSuite(1, 5);
// print the test protocol
System.out.print(tester);
}
}
|
doolin$ java RunArrayedStackTester | tail -4 Passed: pop() for a stack of size 5 Passed: empty() for a stack of size 5 Passed: full() for a stack of size 5 Passed 145/145 tests. doolin$ |
|
| Copyright © 2001, 2002 Andreas Borchert, converted to HTML on February 11, 2002 |