Example #1
0
        public void DocumentSetHashCodeTwoIdenticalTest()
        {
            var docSet1 = new DocumentSet(new HashSet <Document>
            {
                new Document("doc")
            });
            var docSet2 = new DocumentSet(new HashSet <Document>
            {
                new Document("doc")
            });

            Assert.Equal(docSet1.GetHashCode(), docSet2.GetHashCode());
        }