def testContainsTrue(self): runtime = Runtime() tokens = [('ala', ''), ('ma', ''), ('kota', 'NN')] words = [('ala', ''), ('kota', 'NN')] self.assertTrue(runtime._contains(tokens, words))
def testContainsFalse(self): runtime = Runtime() tokens = [('ala', ''), ('ma', ''), ('kota', '')] words = [('alexandra', '')] self.assertFalse(runtime._contains(tokens, words))