public void Constructor_WithEnumerator_RemovesDuplicate() { var collection = new[] { "one", "two", "three", "three", "four" }; var expected = new[] { "one", "two", "three", "four" }; var target = new SimpleHashSet <string>(null, collection); target.Should().BeEquivalentTo(expected); }
public void LetterSimpleSetFactory_Inherit_FromHashSet() { _SimpleHashSet.Should().BeAssignableTo <HashSet <string> >(); }