Exemple #1
0
 def test_simple(self):
     text = 'this_is_a_name'
     self.assertEqual(
         lower_case_underscore_to_camel_case(text),
         'ThisIsAName'
     )
Exemple #2
0
 def test_simple(self):
     text = 'this_is_a_name'
     self.assertEqual(lower_case_underscore_to_camel_case(text),
                      'ThisIsAName')
Exemple #3
0
    def test_lower_case_to_camel_case(self):
        s = "dog_cat"
        cc = lower_case_underscore_to_camel_case(s)

        self.assertEqual(cc,"DogCat")
Exemple #4
0
    def test_lower_case_to_camel_case(self):
        s = "dog_cat"
        cc = lower_case_underscore_to_camel_case(s)

        self.assertEqual(cc, "DogCat")