Example #1
0
    def test_capitalize(self):

        input_words = ['abc', 'ABC', 'aBC', 'ABc']
        capitalized = 'Abc'

        for word in input_words:
            self.assertEqual(camel.capitalize(word), capitalized)
Example #2
0
    def test_capitalize(self):
        sentence = ['abc', 'ABC', 'aBC', 'ABc']
        capitalized = 'Abc'

        for letter in sentence:
            self.assertEqual(capitalized, camel.capitalize(sentence))