File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
src/test/java/us/narin/summarizer Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ package us .narin .summarizer ;
2+
3+ import junit .framework .Test ;
4+ import junit .framework .TestCase ;
5+ import junit .framework .TestSuite ;
6+ import org .jgrapht .graph .DefaultWeightedEdge ;
7+ import org .jgrapht .graph .SimpleWeightedGraph ;
8+
9+ /**
10+ * Unit test for simple Summarizer.
11+ */
12+ public class GraphTest
13+ extends TestCase {
14+ /**
15+ * Create the test case
16+ *
17+ * @param testName name of the test case
18+ */
19+ public GraphTest (String testName ) {
20+ SimpleWeightedGraph <String , DefaultWeightedEdge > graph = new SimpleWeightedGraph <>(DefaultWeightedEdge .class );
21+ graph .addVertex ("A" );
22+ graph .addVertex ("B" );
23+ graph .addVertex ("C" );
24+ graph .addVertex ("D" );
25+
26+
27+ }
28+
29+ /**
30+ * @return the suite of tests being tested
31+ */
32+ public static Test suite () {
33+ return new TestSuite (AppTest .class );
34+ }
35+
36+ /**
37+ * Rigourous Test :-)
38+ */
39+ public void testApp () {
40+ assertTrue (true );
41+ }
42+ }
You can’t perform that action at this time.
0 commit comments