public void Clear() { // Setup var sequence = InitializeSequence(); var set = new TestSet <SimpleType>(sequence); // Execute set.Clear(); // Assert Assert.IsFalse(set.Any()); Assert.AreEqual(0, set.Count); }
public void Clear() { // Setup var sequence = InitializeSequence(); var set = new TestSet<TestEntity>(sequence); // Execute set.Clear(); // Assert Assert.IsFalse(set.Any()); Assert.AreEqual(0, set.Count); }