#NEWLINE# def test_rmsGain( self ) : #NEWLINE# #INDENT# 'Test function for rmsGain()' #NEWLINE# res = ds . rmsGain ( self . H , self . f1 , self . f2 , N = 1000 ) #NEWLINE# self . assertTrue ( np . allclose ( ( res , ) , ( self . res1 , ) , rtol = 1e-05 , atol = 1e-08 ) )