#NEWLINE# def test_camel_case_to_joined_lower( self ) : #NEWLINE# #INDENT# test_pairs = { #NEWLINE# #INDENT# 'camelCase' : 'camel_case' , #NEWLINE# 'FirstCapital' : 'first_capital' , #NEWLINE# 'joined_lower' : 'joined_lower' , #NEWLINE# 'joined_Upper1' : 'joined_upper1' , #NEWLINE# 'Joined_upper2' : 'joined_upper2' , #NEWLINE# 'Joined_Upper3' : 'joined_upper3' , #NEWLINE# '_leading_Underscore' : 'leading_underscore' , #NEWLINE# 'Trailing_Underscore_' : 'trailing_underscore' , #NEWLINE# 'DOubleCAps' : 'd_ouble_c_aps' , #NEWLINE# '@@@super--$$-Funky__$__$$%' : 'super_funky' , #NEWLINE# #UNINDENT# } #NEWLINE# for ( test_input , expected_output ) in test_pairs . items ( ) : #NEWLINE# #INDENT# test_output = self . check . camel_case_to_joined_lower ( test_input ) #NEWLINE# self . assertEqual ( test_output , expected_output , ( 'Input was %s, expected output was %s, actual output was %s' % ( test_input , expected_output , test_output ) ) )