Esempio n. 1
0
        public void ToArrayPreOrderTest()
        {
            var tree = new BinarySearchTree <int>(new int[] { 1, 2, 3, 4, 5 });

            Assert.That(tree.ToArrayPreOrder(), Is.EqualTo(new int[] { 1, 2, 3, 4, 5 }));
        }