示例#1
0
 def test_equal_1(self):
     self.assertEqual(repeat_str(4, 'a'), 'aaaa')
示例#2
0
 def test_equal_2(self):
     self.assertEqual(repeat_str(3, 'hello '), 'hello hello hello ')
示例#3
0
 def test_equal_3(self):
     self.assertEqual(repeat_str(2, 'abc'), 'abcabc')