public void ExpandingSearchTest_BiggerThanMiddle()
        {
            var expected = new int[] { 7, 8, 6, 9, 5, 4, 3, 2, 1, 0 };
            var r        = EdgeLabelPlacement.ExpandingSearch(7, 0, 10).ToList();

            CollectionAssert.AreEqual(expected, r);
        }
        public void ExpandingSearchTest_MiddleOut()
        {
            int[] expected = new int[] { 5, 6, 4, 7, 3, 8, 2, 9, 1, 0 };
            var   r        = EdgeLabelPlacement.ExpandingSearch(5, 0, 10).ToList();

            CollectionAssert.AreEqual(expected, r);
        }
        public void ExpandingSearchTest_LessThanMiddle()
        {
            var expected = new int[] { 3, 4, 2, 5, 1, 6, 0, 7, 8, 9 };
            var r        = EdgeLabelPlacement.ExpandingSearch(3, 0, 10).ToList();

            CollectionAssert.AreEqual(expected, r);
        }
        public void ExpandingSearchTest_DecreasingOnly()
        {
            int[] expected = new int[] { 4, 3, 2, 1, 0 };
            var   r        = EdgeLabelPlacement.ExpandingSearch(4, 0, 5).ToList();

            CollectionAssert.AreEqual(expected, r);
        }