src/test/java/de/dfki/lt/loot/digraph/TestDirectedGraph.java
@Test
  public void testGraph1() {
    // check result graph
    //System.out.println(graph.toString(names));
    assertEquals(
      String.format("Vertex A%n == out ===== %n"+
          "A-ab->B%n" +
          "A-ac->C%n" +
          "Vertex B%n" +
          " == out ===== %n" +
          "Vertex C%n" +
          " == out ===== %n" +
          "C-ca->A%n"),
      graph.toString(names));
  }
/**
   * Tests graph creation and manipulation methods.
   */
Tests graph creation and manipulation methods.
Tests graph creation and manipulation methods .
@Test
  public void testGraph1() {
    assertEquals(
      String.format("Vertex A%n == out ===== %n"+
          "A-ab->B%n" +
          "A-ac->C%n" +
          "Vertex B%n" +
          " == out ===== %n" +
          "Vertex C%n" +
          " == out ===== %n" +
          "C-ca->A%n"),
      graph.toString(names));
  }
@ Test public void testGraph1 ( ) { assertEquals ( String . format ( "Vertex A%n == out ===== %n" + "A-ab->B%n" + "A-ac->C%n" + "Vertex B%n" + " == out ===== %n" + "Vertex C%n" + " == out ===== %n" + "C-ca->A%n" ) , graph . toString ( names ) ) ; }
Tests graph creation and manipulation methods.
Tests graph creation and manipulation methods .
// check result graph
 //System.out.println(graph.toString(names));
