#NEWLINE# def test_backtrack( self ) : #NEWLINE# #INDENT# result = backtrack ( self . problem ) #NEWLINE# self . assertEqual ( result , { #NEWLINE# #INDENT# 'A' : 2 , #NEWLINE# 'B' : 3 , #NEWLINE# 'C' : 1 , #NEWLINE# #UNINDENT# } )