Class UndirectedWeightedGraphTest
java.lang.Object
es.uam.eps.ir.relison.graph.complementary.UndirectedWeightedGraphTest
public class UndirectedWeightedGraphTest
extends java.lang.Object
Class for testing the fast implementation for undirected weighted graphs.
-
Constructor Summary
Constructors Constructor Description UndirectedWeightedGraphTest() -
Method Summary
Modifier and Type Method Description voiddegrees()Test the degrees of the graphvoidedgeAddition()Tests the addition of edges to the graphvoidedgesAndNodesCount()Test that checks if the number of nodes and edges which reach a node or start from it are correct.voidnodeAddition()Tests the addition of nodes to the graph.voidsetUp()static voidsetUpClass()voidtearDown()static voidtearDownClass()voidtypes()Test the types of the edgesvoidweights()Test the types of the edges
-
Constructor Details
-
UndirectedWeightedGraphTest
public UndirectedWeightedGraphTest()
-
-
Method Details
-
setUpClass
public static void setUpClass() -
tearDownClass
public static void tearDownClass() -
setUp
public void setUp() -
tearDown
public void tearDown() -
nodeAddition
public void nodeAddition()Tests the addition of nodes to the graph. -
edgeAddition
public void edgeAddition()Tests the addition of edges to the graph -
weights
public void weights()Test the types of the edges -
types
public void types()Test the types of the edges -
degrees
public void degrees()Test the degrees of the graph -
edgesAndNodesCount
public void edgesAndNodesCount()Test that checks if the number of nodes and edges which reach a node or start from it are correct.
-