diff --git a/test/src/edu/stanford/nlp/semgraph/SemanticGraphTest.java b/test/src/edu/stanford/nlp/semgraph/SemanticGraphTest.java index 672842e98b..6793b77207 100644 --- a/test/src/edu/stanford/nlp/semgraph/SemanticGraphTest.java +++ b/test/src/edu/stanford/nlp/semgraph/SemanticGraphTest.java @@ -435,6 +435,12 @@ public void testValueOfReuseIndices() { Assert.assertEquals(sg.getAllEdges(D, E).size(), 1); Assert.assertEquals(sg.getParentsWithReln(E, "obj").size(), 1); Assert.assertEquals(sg.getParentsWithReln(E, "dep").size(), 0); + + Assert.assertEquals(A.index(), 0); + Assert.assertEquals(B.index(), 1); + Assert.assertEquals(C.index(), 2); + Assert.assertEquals(D.index(), 3); + Assert.assertEquals(E.index(), 4); } }