public void TestBinaryIntExist()
 {
     BinaryTreeSeach<int> tree = new BinaryTreeSeach<int>();
     CompareInterface<int> comparator = new CompareInt();
     tree.InsertElement(1, comparator);
     Assert.IsTrue(tree.ElementExist(1, comparator));
 }
 public void TestBinaryIntExistString()
 {
     BinaryTreeSeach<string> tree = new BinaryTreeSeach<string>();
     CompareInterface<string> comparator = new CompareString();
     tree.InsertElement("1", comparator);
     Assert.IsTrue(tree.ElementExist("1", comparator));
 }