#NEWLINE# def test_fd_model_example( self ) : #NEWLINE# #INDENT# top = Problem ( ) #NEWLINE# top . root = Model3 ( ) #NEWLINE# top . setup ( check = False ) #NEWLINE# top . root . comp1 . print_output = False #NEWLINE# top . root . comp2 . print_output = False #NEWLINE# top . root . comp3 . print_output = False #NEWLINE# top . root . comp4 . print_output = False #NEWLINE# top . run ( ) #NEWLINE# J = top . calc_gradient ( [ 'px.x' ] , [ 'comp4.y' ] ) #NEWLINE# assert_rel_error ( self , J [ 0 ] [ 0 ] , 81.0 , 1e-05 )