public void ToBidirectionalGraph05325()
{
    BidirectionalGraph<int, SEquatableEdge<int>> bidirectionalGraph;
    SEquatableEdge<int>[] sEquatableEdges = new SEquatableEdge<int>[1];
    bidirectionalGraph = this.ToBidirectionalGraph05<int>
                             ((IEnumerable<SEquatableEdge<int>>)sEquatableEdges);
    Assert.IsNotNull((object)bidirectionalGraph);
    Assert.AreEqual<int>(-1, bidirectionalGraph.EdgeCapacity);
    Assert.AreEqual<bool>(true, bidirectionalGraph.IsDirected);
    Assert.AreEqual<bool>(true, bidirectionalGraph.AllowParallelEdges);
    Assert.AreEqual<bool>(false, bidirectionalGraph.IsEdgesEmpty);
    Assert.AreEqual<int>(1, bidirectionalGraph.EdgeCount);
}
public void ToAdjacencyGraph04438()
{
    AdjacencyGraph<int, SEquatableEdge<int>> adjacencyGraph;
    SEquatableEdge<int>[] sEquatableEdges = new SEquatableEdge<int>[2];
    adjacencyGraph = this.ToAdjacencyGraph04<int>
                         ((IEnumerable<SEquatableEdge<int>>)sEquatableEdges);
    Assert.IsNotNull((object)adjacencyGraph);
    Assert.AreEqual<bool>(true, adjacencyGraph.IsDirected);
    Assert.AreEqual<bool>(true, adjacencyGraph.AllowParallelEdges);
    Assert.AreEqual<int>(-1, adjacencyGraph.EdgeCapacity);
    Assert.AreEqual<bool>(false, adjacencyGraph.IsEdgesEmpty);
    Assert.AreEqual<int>(2, adjacencyGraph.EdgeCount);
}
public void ToUndirectedGraph02438()
{
    UndirectedGraph<int, SEquatableEdge<int>> undirectedGraph;
    SEquatableEdge<int>[] sEquatableEdges = new SEquatableEdge<int>[2];
    undirectedGraph = this.ToUndirectedGraph02<int>
                          ((IEnumerable<SEquatableEdge<int>>)sEquatableEdges);
    Assert.IsNotNull((object)undirectedGraph);
    Assert.IsNotNull(undirectedGraph.EdgeEqualityComparer);
    Assert.AreEqual<int>(4, undirectedGraph.EdgeCapacity);
    Assert.AreEqual<bool>(false, undirectedGraph.IsDirected);
    Assert.AreEqual<bool>(true, undirectedGraph.AllowParallelEdges);
    Assert.AreEqual<int>(2, undirectedGraph.EdgeCount);
}
public void ToAdjacencyGraph04940()
{
    AdjacencyGraph<int, SEquatableEdge<int>> adjacencyGraph;
    SEquatableEdge<int>[] sEquatableEdges = new SEquatableEdge<int>[1];
    SEquatableEdge<int> s0 = new SEquatableEdge<int>(default(int), int.MinValue);
    sEquatableEdges[0] = s0;
    adjacencyGraph = this.ToAdjacencyGraph04<int>
                         ((IEnumerable<SEquatableEdge<int>>)sEquatableEdges);
    Assert.IsNotNull((object)adjacencyGraph);
    Assert.AreEqual<bool>(true, adjacencyGraph.IsDirected);
    Assert.AreEqual<bool>(true, adjacencyGraph.AllowParallelEdges);
    Assert.AreEqual<int>(-1, adjacencyGraph.EdgeCapacity);
    Assert.AreEqual<bool>(false, adjacencyGraph.IsEdgesEmpty);
    Assert.AreEqual<int>(1, adjacencyGraph.EdgeCount);
}
public void ToUndirectedGraph02940()
{
    UndirectedGraph<int, SEquatableEdge<int>> undirectedGraph;
    SEquatableEdge<int>[] sEquatableEdges = new SEquatableEdge<int>[1];
    SEquatableEdge<int> s0 = new SEquatableEdge<int>(default(int), int.MinValue);
    sEquatableEdges[0] = s0;
    undirectedGraph = this.ToUndirectedGraph02<int>
                          ((IEnumerable<SEquatableEdge<int>>)sEquatableEdges);
    Assert.IsNotNull((object)undirectedGraph);
    Assert.IsNotNull(undirectedGraph.EdgeEqualityComparer);
    Assert.AreEqual<int>(4, undirectedGraph.EdgeCapacity);
    Assert.AreEqual<bool>(false, undirectedGraph.IsDirected);
    Assert.AreEqual<bool>(true, undirectedGraph.AllowParallelEdges);
    Assert.AreEqual<int>(1, undirectedGraph.EdgeCount);
}
public void ToBidirectionalGraph05933()
{
    BidirectionalGraph<int, SEquatableEdge<int>> bidirectionalGraph;
    SEquatableEdge<int>[] sEquatableEdges = new SEquatableEdge<int>[3];
    SEquatableEdge<int> s0 = new SEquatableEdge<int>(704643108, 97);
    sEquatableEdges[0] = s0;
    SEquatableEdge<int> s1 = new SEquatableEdge<int>(235929636, 97);
    sEquatableEdges[1] = s1;
    bidirectionalGraph = this.ToBidirectionalGraph05<int>
                             ((IEnumerable<SEquatableEdge<int>>)sEquatableEdges);
    Assert.IsNotNull((object)bidirectionalGraph);
    Assert.AreEqual<int>(-1, bidirectionalGraph.EdgeCapacity);
    Assert.AreEqual<bool>(true, bidirectionalGraph.IsDirected);
    Assert.AreEqual<bool>(true, bidirectionalGraph.AllowParallelEdges);
    Assert.AreEqual<bool>(false, bidirectionalGraph.IsEdgesEmpty);
    Assert.AreEqual<int>(3, bidirectionalGraph.EdgeCount);
}
public void ToAdjacencyGraph04423()
{
    AdjacencyGraph<int, SEquatableEdge<int>> adjacencyGraph;
    SEquatableEdge<int>[] sEquatableEdges = new SEquatableEdge<int>[3];
    SEquatableEdge<int> s0 = new SEquatableEdge<int>(37, 782);
    sEquatableEdges[0] = s0;
    SEquatableEdge<int> s1 = new SEquatableEdge<int>(326, 326);
    sEquatableEdges[1] = s1;
    adjacencyGraph = this.ToAdjacencyGraph04<int>
                         ((IEnumerable<SEquatableEdge<int>>)sEquatableEdges);
    Assert.IsNotNull((object)adjacencyGraph);
    Assert.AreEqual<bool>(true, adjacencyGraph.IsDirected);
    Assert.AreEqual<bool>(true, adjacencyGraph.AllowParallelEdges);
    Assert.AreEqual<int>(-1, adjacencyGraph.EdgeCapacity);
    Assert.AreEqual<bool>(false, adjacencyGraph.IsEdgesEmpty);
    Assert.AreEqual<int>(3, adjacencyGraph.EdgeCount);
}
public void ToUndirectedGraph02162()
{
    UndirectedGraph<int, SEquatableEdge<int>> undirectedGraph;
    SEquatableEdge<int>[] sEquatableEdges = new SEquatableEdge<int>[3];
    SEquatableEdge<int> s0 = new SEquatableEdge<int>(1, 2);
    sEquatableEdges[0] = s0;
    SEquatableEdge<int> s1 = new SEquatableEdge<int>(172, 172);
    sEquatableEdges[1] = s1;
    undirectedGraph = this.ToUndirectedGraph02<int>
                          ((IEnumerable<SEquatableEdge<int>>)sEquatableEdges);
    Assert.IsNotNull((object)undirectedGraph);
    Assert.IsNotNull(undirectedGraph.EdgeEqualityComparer);
    Assert.AreEqual<int>(4, undirectedGraph.EdgeCapacity);
    Assert.AreEqual<bool>(false, undirectedGraph.IsDirected);
    Assert.AreEqual<bool>(true, undirectedGraph.AllowParallelEdges);
    Assert.AreEqual<int>(3, undirectedGraph.EdgeCount);
}
public void ToUndirectedGraph02166()
{
    UndirectedGraph<int, SEquatableEdge<int>> undirectedGraph;
    SEquatableEdge<int>[] sEquatableEdges = new SEquatableEdge<int>[3];
    SEquatableEdge<int> s0 = new SEquatableEdge<int>(1623335945, 1623335945);
    sEquatableEdges[0] = s0;
    SEquatableEdge<int> s1 = new SEquatableEdge<int>(1887439544, default(int));
    sEquatableEdges[1] = s1;
    SEquatableEdge<int> s2 = new SEquatableEdge<int>(2017597721, -260044104);
    sEquatableEdges[2] = s2;
    undirectedGraph = this.ToUndirectedGraph02<int>
                          ((IEnumerable<SEquatableEdge<int>>)sEquatableEdges);
    Assert.IsNotNull((object)undirectedGraph);
    Assert.IsNotNull(undirectedGraph.EdgeEqualityComparer);
    Assert.AreEqual<int>(4, undirectedGraph.EdgeCapacity);
    Assert.AreEqual<bool>(false, undirectedGraph.IsDirected);
    Assert.AreEqual<bool>(true, undirectedGraph.AllowParallelEdges);
    Assert.AreEqual<int>(3, undirectedGraph.EdgeCount);
}