public bool generateGraph_NumberOfEdge_Tests(int numberOfVertex) { WMH.Model.Graph graph = WMH.Model.GraphGenerator.GraphGenerator.generateGraph(numberOfVertex); if ((numberOfVertex * (numberOfVertex - 1) / 2) == graph.Edges.Count) { return(true); } return(false); }
public int generateGraph_NumberOfVertex_Tests(int numberOfVertex) { WMH.Model.Graph graph = WMH.Model.GraphGenerator.GraphGenerator.generateGraph(numberOfVertex); return(graph.Vertexes.Count); }