#NEWLINE# def TestStatistic( self , data ) : #NEWLINE# #INDENT# 'Computes the test statistic.\n\n        data: data in whatever form is relevant        \n        ' #NEWLINE# ( heads , tails ) = data #NEWLINE# test_stat = abs ( ( heads - test_stat ) ) #NEWLINE# return test_stat