assertEquals(graph.getInDegree(nrow), INDEGREE[nrow]);
assertEquals(node.getOutDegree(), OUTDEGREE[nrow]);
assertEquals(graph.getOutDegree(nrow), OUTDEGREE[nrow]);
// check edges
Iterator eiter = node.inEdges();
while ( eiter.hasNext() ) {
Edge edge = (Edge)eiter.next();
int erow = edge.getRow();
assertEquals(nrow, edge.getTargetNode().getRow());
assertEquals(nrow, graph.getTargetNode(erow));