/// <summary> ///A test for Clear ///</summary> public void ClearTest1Helper <T>() { _23Tree <double> target = new _23Tree <double>(); target.Add(1); target.Add(2); target.Add(3); target.Clear(); Assert.IsNull(target.Root); }
/// <summary> ///A test for Contains ///</summary> public void ContainsTest1Helper <T>() { _23Tree <double> target = new _23Tree <double>(); double data = 3; target.Add(1); target.Add(2); target.Add(data); SearchResult actual = target.Contains(data); Assert.IsNotNull(actual.SearchPath); }