#NEWLINE# def test_halfnorm( self ) : #NEWLINE# #INDENT# points = [ 1 , 2 , 3 ] #NEWLINE# pdf1 = stats . halfgennorm . pdf ( self , 2 ) #NEWLINE# pdf2 = stats . halfnorm . pdf ( points , scale = ( 2 ** ( - 0.5 ) ) ) #NEWLINE# assert_almost_equal ( pdf1 , pdf2 )