AnalyzerUnitTest.OverallReciprocationCalculatorTest.TestCalculateGraphMetrics C# (CSharp) Method

TestCalculateGraphMetrics() private method

private TestCalculateGraphMetrics ( ) : void
return void
        TestCalculateGraphMetrics()
        {
            // Empty directed graph.

            Boolean bIsDirected = true;
            CreateGraph(bIsDirected);

            Nullable<Double> dReciprocatedVertexPairRatio, dReciprocatedEdgeRatio;

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

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