#NEWLINE# def check_overflow( self , link_func , lim_of_inf ) : #NEWLINE# #INDENT# beyond_lim_of_inf = ( lim_of_inf + 100.0 ) #NEWLINE# self . assertFalse ( np . isinf ( link_func . transf ( beyond_lim_of_inf ) ) ) #NEWLINE# self . assertFalse ( np . isinf ( link_func . dtransf_df ( beyond_lim_of_inf ) ) ) #NEWLINE# self . assertFalse ( np . isinf ( link_func . d2transf_df2 ( beyond_lim_of_inf ) ) ) #NEWLINE# self . assertFalse ( np . isnan ( link_func . transf ( beyond_lim_of_inf ) ) ) #NEWLINE# self . assertFalse ( np . isnan ( link_func . dtransf_df ( beyond_lim_of_inf ) ) ) #NEWLINE# self . assertFalse ( np . isnan ( link_func . d2transf_df2 ( beyond_lim_of_inf ) ) )