Example #1
0
        public void Clear_AddFourElementsAndClearTree_CountIs0()
        {
            BinaryTree <int> testTree = new BinaryTree <int>();

            testTree.Add(6);
            testTree.Add(8);
            testTree.Add(11);
            testTree.Add(26);

            testTree.Clear();

            Assert.Equal(0, testTree.Count);
        }