Class AbstractGeneratorTest

    • Constructor Detail

      • AbstractGeneratorTest

        public AbstractGeneratorTest()
    • Method Detail

      • same

        protected boolean same​(Graph g1,
                               Graph g2)
        Asserts that two graphs are the "same" in way of structure. It assumes that the graphs both have vertices with an "oid" property that is an Integer value. It iterates each vertex in graph 1, using the "oid" to lookup vertices in graph 2. For each one found it checks both IN and OUT vertices to ensure that they attach to the same IN/OUT vertices given their "oid" properties.