public void FindShouldReturnProperValue() { var testSet = new CustomHashSet<int> { 1, 2, 3 }; var number = testSet.Find(2); Assert.AreEqual(2, number); }
public void FindShouldReturnProperValue() { var testSet = new CustomHashSet <int> { 1, 2, 3 }; var number = testSet.Find(2); Assert.AreEqual(2, number); }
public void TestIfFindThrowsExeptionWhenInvalidKeyIsEntered() { var firstList = new List<string>() { "alabala", "gruhgruh", "tintirimintiri", "ivichka e vyrhyt", "koki" }; var firstSet = new CustomHashSet<string>(firstList); firstSet.Find("Vesich"); }
public void TestIfFindThrowsExeptionWhenInvalidKeyIsEntered() { var firstList = new List <string>() { "alabala", "gruhgruh", "tintirimintiri", "ivichka e vyrhyt", "koki" }; var firstSet = new CustomHashSet <string>(firstList); firstSet.Find("Vesich"); }