コード例 #1
0
        public void DocumentSetIntersectEmptyAndFullTest()
        {
            var docSet = new DocumentSet(new HashSet <Document>
            {
                new Document("doc")
            });

            Assert.Equal(new DocumentSet(), DocumentSet.Intersection(new DocumentSet(), docSet));
        }
コード例 #2
0
        public void DocumentSetIntersectIdenticalTest()
        {
            var docSet = new DocumentSet(new HashSet <Document>
            {
                new Document("doc")
            });

            Assert.Equal(docSet, DocumentSet.Intersection(docSet, docSet));
        }