コード例 #1
0
def test_camel_case_lower_unicode():
    for string in U_STRINGS:
        assert u"testCase" == camel_case(string, title=False)
コード例 #2
0
def test_camel_case_lower_bytes():
    for string in B_STRINGS:
        assert b"testCase" == camel_case(string, title=False)
コード例 #3
0
def test_camel_case_lower():
    for string in STRINGS:
        assert "testCase" == camel_case(string, title=False)
コード例 #4
0
def test_camel_case_unicode():
    for string in U_STRINGS:
        assert u"TestCase" == camel_case(string)
コード例 #5
0
def test_camel_case_bytes():
    for string in B_STRINGS:
        assert b"TestCase" == camel_case(string)
コード例 #6
0
def test_camel_case():
    for string in STRINGS:
        assert "TestCase" == camel_case(string)