Exemplo n.º 1
0
 def test_if_one_argument_passed__then_return_same_string(self):
     string = '';
     createdTitle = TitleCreator(string)
     self.assertEqual(string, createdTitle.titleCreator())
Exemplo n.º 2
0
 def test_THE_WIND_IN_THE_WILLOWS(self):
     string = 'THE WIND IN THE WILLOWS'
     caps = 'The In'
     createdTitle = TitleCreator(string, caps)
     self.assertEqual('The Wind in the Willows', createdTitle.titleCreator())
Exemplo n.º 3
0
 def test_the_quick_brown_fox(self):
     string = 'the quick brown fox'
     createdTitle = TitleCreator(string)
     self.assertEqual('The Quick Brown Fox', createdTitle.titleCreator())
Exemplo n.º 4
0
 def test_one_A_Clash_of_Kings(self):
     string = 'a clash of Kings'
     caps = 'a an the of'
     createdTitle = TitleCreator(string, caps)
     self.assertEqual('A Clash of Kings', createdTitle.titleCreator())