def test_docname_docid_translation(self):

        for (docname, doc) in self.docs:
                self.assertEqual(docname,
                             self.sim_index.docid_to_name(
                                self.sim_index.name_to_docid(docname)))
Test docname_to_docid()/docid_to_docname() using known data
dataset/ETHPy150Open taherh/pysimsearch/pysimsearch/test/sim_index_test.py/SimIndexTest.test_docname_docid_translation