AnalyzerUnitTest.OverallReciprocationCalculatorTest.TestCalculateGraphMetrics2 C# (CSharp) Method

TestCalculateGraphMetrics2() private method

private TestCalculateGraphMetrics2 ( ) : void
return void
        TestCalculateGraphMetrics2()
        {
            // Undirected graph.

            Boolean bIsDirected = false;
            CreateGraph(bIsDirected);

            IVertex oVertexA = m_oVertices.Add();
            IVertex oVertexB = m_oVertices.Add();

            m_oEdges.Add(oVertexA, oVertexB, bIsDirected);

            Nullable<Double> dReciprocatedVertexPairRatio, dReciprocatedEdgeRatio;

            m_oOverallReciprocationCalculator.CalculateGraphMetrics(m_oGraph,
                out dReciprocatedVertexPairRatio, out dReciprocatedEdgeRatio);

            Assert.IsFalse(dReciprocatedVertexPairRatio.HasValue);
            Assert.IsFalse(dReciprocatedEdgeRatio.HasValue);
        }