public void DocumentSetIntersectEmptyAndFullTest() { var docSet = new DocumentSet(new HashSet <Document> { new Document("doc") }); Assert.Equal(new DocumentSet(), DocumentSet.Intersection(new DocumentSet(), docSet)); }
public void DocumentSetIntersectIdenticalTest() { var docSet = new DocumentSet(new HashSet <Document> { new Document("doc") }); Assert.Equal(docSet, DocumentSet.Intersection(docSet, docSet)); }