{
graph.makeEdgeChain( "a,b,c" );
graph.makeEdgeChain( "d,b,e" );
NetworkDiameter<Double> diameter = new NetworkDiameter<Double>(
getSingleSourceShortestPath(), 0.0, graph.getAllNodes(),
new DoubleComparator() );
assertTrue( diameter.getCentrality( null ) == 2.0 );
}