Exemplo n.º 1
0
 def test_string_splosion3(self):
     string_splosion = StringSplosion('andela')
     self.assertEqual(string_splosion.manipulate(),
                      'aanandandeandelandela',
                      msg='should manipulate a third time')
Exemplo n.º 2
0
 def test_string_splosion1(self):
     string_splosion = StringSplosion('Code')
     self.assertEqual(string_splosion.manipulate(),
                      'CCoCodCode',
                      msg='should manipulate the string')
Exemplo n.º 3
0
 def test_string_splosion2(self):
     string_splosion = StringSplosion('abc')
     self.assertEqual(string_splosion.manipulate(),
                      'aababc',
                      msg='should manipulate a second time')