public void InOrderTestTree6()
        {
            var expected = new List <int> {
                8, 7, 9, 10, 11, 15, 18
            };
            var actual = BinaryTreeTraverseInOrder1RecursiveComplete.TraverseInOrder(BinaryTreeNodeTestData.Tree6);

            CollectionAssert.AreEqual(expected, actual);
        }
        public void InOrderTestTree14()
        {
            var expected = new List <int> {
                6, 4, 2, 1, 7, 5, 3
            };
            var actual = BinaryTreeTraverseInOrder1RecursiveComplete.TraverseInOrder(BinaryTreeNodeTestData.Tree14);

            CollectionAssert.AreEqual(expected, actual);
        }
        public void InOrderTestTree12()
        {
            var expected = new List <int> {
                5, 6, 7, 9, 10, 11, 12, 15, 16, 17, 18, 23, 24, 25, 26
            };
            var actual = BinaryTreeTraverseInOrder1RecursiveComplete.TraverseInOrder(BinaryTreeNodeTestData.Tree12);

            CollectionAssert.AreEqual(expected, actual);
        }
        public void InOrderTestNullTree()
        {
            var actual = BinaryTreeTraverseInOrder1RecursiveComplete.TraverseInOrder(null);

            Assert.AreEqual(0, actual.Count);
        }