1314151617181920212223
public class TestFlexibleGraphs { @Test public void testDirected1() { FlexibleGraph graph = new FlexibleGraph(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode();
1415161718192021222324
@Test public void testDirected1() { FlexibleGraph graph = new FlexibleGraph(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode();
1516171819202122232425
@Test public void testDirected1() { FlexibleGraph graph = new FlexibleGraph(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addEdge(0, 1);
1617181920212223242526
public void testDirected1() { FlexibleGraph graph = new FlexibleGraph(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addEdge(0, 1); graph.addEdge(0, 4);
1718192021222324252627
FlexibleGraph graph = new FlexibleGraph(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addEdge(0, 1); graph.addEdge(0, 4); graph.addEdge(0, 3);
1819202122232425262728
graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addEdge(0, 1); graph.addEdge(0, 4); graph.addEdge(0, 3); graph.addEdge(3, 2);
1920212223242526272829
graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addEdge(0, 1); graph.addEdge(0, 4); graph.addEdge(0, 3); graph.addEdge(3, 2); graph.addEdge(5, 3);
3435363738394041424344
} @Test public void testDirected2() { FlexibleGraph graph = new FlexibleGraph(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode();
3536373839404142434445
@Test public void testDirected2() { FlexibleGraph graph = new FlexibleGraph(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode();
3637383940414243444546
@Test public void testDirected2() { FlexibleGraph graph = new FlexibleGraph(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addNode(); graph.addEdge(6, 3);