Пример #1
0
 def test_only_upper_snake_to_lower_camel_case(self):
     name = NameParser(self.only_upper_snake_input, [])
     self.assertEqual(self.lower_camel_case, name.lower_camel_case)
Пример #2
0
 def test_lower_camel_to_lower_camel_case(self):
     name = NameParser(self.lower_camel_input, [])
     self.assertEqual(self.lower_camel_case, name.lower_camel_case)
Пример #3
0
 def test_upper_snake_to_upper_camel_case(self):
     name = NameParser(self.upper_snake_input, [])
     self.assertEqual(self.upper_camel_case, name.upper_camel_case)
Пример #4
0
 def test_only_upper_to_upper_camel_case(self):
     name = NameParser(self.only_upper_input, [])
     self.assertEqual(self.single_upper_case, name.upper_camel_case)
Пример #5
0
 def test_upper_readable(self):
     name = NameParser(self.only_upper_snake_input, [])
     self.assertEqual(self.upper_readable, name.upper_readable)