public void FindExistingElem_OneElemArray_Test() { Beap b = new Beap(); b.Insert(5); Assert.AreEqual(true, b.Find(5)); }
public void FindAbsentElem_FullArray_Test(int toFind) { Beap b = new Beap(); b.Insert(8); b.Insert(4); b.Insert(10); b.Insert(2); b.Insert(7); Assert.AreEqual(false, b.Find(toFind)); }
public void FindExistingElem_FullArray_Test(int toFind) { Beap b = new Beap(); b.Insert(8); b.Insert(4); b.Insert(10); b.Insert(2); b.Insert(7); Assert.AreEqual(true, b.Find(toFind)); }