public void CountMustReturnCorrectValue() { Assert.AreEqual(setLength, mySet100.Count); ArraySet <int> arrSet = new ArraySet <int>(); UnmutableSet <int> mySet = new UnmutableSet <int>(arrSet); Assert.AreEqual(0, mySet.Count); }
public void Setup()//Подставляет UnmutableSet в mySet перед каждым тестом { ArraySet <int> arrSet = new ArraySet <int>(); for (int i = 0; i < setLength; i++) { arrSet.Add(i); } mySet100 = new UnmutableSet <int>(arrSet); }