@Test
    public void assignCoordinatesAssignsCoordinates() {
        String[] s = {"0 0 0 0",
                      "0 0 0 0",
                      "0 0 0 0",
                      "0 0 0 0"};
        DynamicArray<String> d = new DynamicArray();
        for (int i = 0; i < s.length; i++) {
            d.insert(s[i]);
        }
        Graph g = GraphParser.initialize(d);
        AssignCoordinates.initialize(g);
        Vertex v;
        for (int i = 0; i < g.getVertices().getSize(); i++) {
            v = (Vertex) g.getVertices().get(i);
            System.out.println("v" + i + ": " + v.getX() + ", " + v.getY());
        }
    }