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