#NEWLINE# def test_log_pdf_returned_array_dimension_1d_X( self ) : #NEWLINE# #INDENT# n = 1 #NEWLINE# mu = asarray ( [ 0 ] , dtype = numpy . bool8 ) #NEWLINE# spread = 0.5 #NEWLINE# dist = DiscreteRandomWalkProposal ( mu , spread ) #NEWLINE# X = asarray ( [ [ 0 ] ] , dtype = numpy . bool8 ) #NEWLINE# self . assertEqual ( dist . log_pdf ( X ) . shape , ( n , ) )