示例#1
0
 def test_input(self):
     assert uncamelcase("lowercase") == "lowercase"
     assert uncamelcase("Class") == "Class"
     assert uncamelcase("MyClass") == "My Class"
     assert uncamelcase("PDFClass") == "PDF Class"
     assert uncamelcase("99bottles") == "99bottles"
     assert uncamelcase("99Bottles") == "99 Bottles"
     assert uncamelcase("BFG9000") == "BFG 9000"
示例#2
0
 def test_input(self):
     assert uncamelcase("lowercase") == "lowercase"
     assert uncamelcase("Class") == "Class"
     assert uncamelcase("MyClass") == "My Class"
     assert uncamelcase("PDFClass") == "PDF Class"
     assert uncamelcase("99bottles") == "99bottles"
     assert uncamelcase("99Bottles") == "99 Bottles"
     assert uncamelcase("BFG9000") == "BFG 9000"
示例#3
0
 def test_empty_imput(self):
     assert uncamelcase("") == ""
示例#4
0
 def test_empty_imput(self):
     assert uncamelcase("") == ""