Exemple #1
0
        public void StartingPointsTest()
        {
            var target = GetTestGraph();

            Assert.IsTrue(GraphEdgesExtensionsTest.CompareEnumerable(target.StartingPoints, new[] { 7, 5, 3 }));
        }
Exemple #2
0
        public void GetLinkedVerticesTest()
        {
            var target = GetTestGraph();

            Assert.IsTrue(GraphEdgesExtensionsTest.CompareEnumerable(target.GetNumberOfEdgesGoingFrom(11), new[] { 2, 9, 10 }));
        }