#NEWLINE# def test_count_conflicts( self ) : #NEWLINE# #INDENT# assignment = { #NEWLINE# #INDENT# 'A' : 1 , #NEWLINE# 'B' : 1 , #NEWLINE# 'C' : 3 , #NEWLINE# #UNINDENT# } #NEWLINE# conflicts_count = _count_conflicts ( conflicts_count . problem , assignment ) #NEWLINE# self . assertEqual ( conflicts_count , 4 )