def test_string_splosion3(self):
     string_splosion = StringSplosion('andela')
     self.assertEqual(
         string_splosion.manipulate(),
         'aanandandeandelandela',
         msg='should manipulate a third time'
     )
 def test_string_splosion2(self):
     string_splosion = StringSplosion('abc')
     self.assertEqual(
         string_splosion.manipulate(),
         'aababc',
         msg='should manipulate a second time'
     )
 def test_string_splosion1(self):
     string_splosion = StringSplosion('Code')
     self.assertEqual(
         string_splosion.manipulate(),
         'CCoCodCode',
         msg='should manipulate the string'
     )
예제 #4
0
 def test_string_splosion1(self):
     string_splosion = StringSplosion('Code')
     self.assertEqual(string_splosion.manipulate(),
                      'CCoCodCode',
                      msg='should manipulate the string')
예제 #5
0
 def test_string_splosion3(self):
     string_splosion = StringSplosion('andela')
     self.assertEqual(string_splosion.manipulate(),
                      'aanandandeandelandela',
                      msg='should manipulate a third time')
예제 #6
0
 def test_string_splosion2(self):
     string_splosion = StringSplosion('abc')
     self.assertEqual(string_splosion.manipulate(),
                      'aababc',
                      msg='should manipulate a second time')