コード例 #1
0
 def test_filterPair_WITH_INVALID_PAIR_LONG_OUTPUT(self):
     test_pair = [["you", "are", "wrong", "."],	["tu", "as", "tort", "."]]
     self.assertFalse(utils.filter_pair(test_pair, 10, 1))
コード例 #2
0
 def test_filterPair_WITH_VALID_PAIR(self):
     test_pair = [["you", "are", "wrong", "."],	["tu", "as", "tort", "."]]
     self.assertTrue(utils.filter_pair(test_pair, 10, 10))