public void BSTArray_1_Add_2_Three()
        {
            // Arrange
            BSTArray a = new BSTArray();

            // Act
            a.Add(3);
            a.Add(5);
            a.Add(4);

            // Assert
            Assert.AreEqual(0, a.root);
            Assert.AreEqual(3, a.tree[0].data);
            Assert.AreEqual(5, a.tree[1].data);
            Assert.AreEqual(4, a.tree[2].data);
            Assert.AreEqual(BSTNode.UNDEFINED, a.tree[0].left);
            Assert.AreEqual(1, a.tree[0].right);
            Assert.AreEqual(2, a.tree[1].left);
            Assert.AreEqual(BSTNode.UNDEFINED, a.tree[1].right);
            Assert.AreEqual(BSTNode.UNDEFINED, a.tree[2].left);
            Assert.AreEqual(BSTNode.UNDEFINED, a.tree[2].right);
        }
        public void BSTArray_1_Add_1_One()
        {
            // Arrange
            BSTArray a = new BSTArray();

            // Act
            a.Add(3);

            // Assert
            Assert.AreEqual(0, a.root);
            Assert.AreEqual(3, a.tree[0].data);
            Assert.AreEqual(BSTNode.UNDEFINED, a.tree[0].left);
            Assert.AreEqual(BSTNode.UNDEFINED, a.tree[0].right);
        }