-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathUnitTest.java
26 lines (21 loc) · 912 Bytes
/
UnitTest.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package graph;
import ucb.junit.textui;
/* You MAY add public @Test methods to this class. You may also add
* additional public classes containing "Testing" in their name. These
* may not be part of your graph package per se (that is, it must be
* possible to remove them and still have your package work). */
/** Unit tests for the graph package. This class serves to dispatch
* other test classes, which are listed in the argument to runClasses.
* @author Rafayel Mkrtchyan
*/
public class UnitTest {
/** Run all JUnit tests in the graph package. */
public static void main(String[] ignored) {
System.exit(textui.runClasses(
graph.GraphTesting.class,
graph.GraphObjTesting.class,
graph.TraversalTesting.class,
graph.ShortestPathTesting.class,
graph.PathsTesting.class));
}
}