示例#1
0
 def test_equal_2(self):
     self.assertEqual(add_length('you will win'),
                      ['you 3', 'will 4', 'win 3'])
示例#2
0
 def test_equal_4(self):
     self.assertEqual(add_length('y'), ['y 1'])
示例#3
0
 def test_equal_1(self):
     self.assertEqual(add_length('apple ban'), ['apple 5', 'ban 3'])
示例#4
0
 def test_equal_3(self):
     self.assertEqual(add_length('you'), ['you 3'])