public void GetDocsContain_ShouldReturnEmptyList_WhenInputDoesNotExists()
        {
            //Arrange
            var docs = new HashSet <string>()
            {
                "57110"
            };
            var words = new Dictionary <string, HashSet <string> >()
            {
                { "found", docs }
            };

            _sut = new HashInvertedIndex(words);

            //Act
            var result = _sut.GetDocsContain("go");

            //Assert
            Assert.Equal(new HashSet <string>(), result);
        }
        public void GetDocsContainWord_ShouldSetCorrectDocs_WhenInputExists()
        {
            //Arrange
            var expected = new HashSet <string>()
            {
                "57110"
            };
            var words = new Dictionary <string, HashSet <string> >()
            {
                { "found", expected }
            };

            _sut = new HashInvertedIndex(words);

            //Act
            var result = _sut.GetDocsContain("found");

            //Assert
            Assert.Equal(expected, result);
        }