#! /usr/bin/env python # def naca_test ( ): #*****************************************************************************80 # ## NACA_TEST tests the NACA library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 13 July 2018 # # Author: # # John Burkardt # import platform from naca4_cambered import naca4_cambered_test from naca4_display_test import naca4_display_test from naca4_mpt import naca4_mpt from naca4_mpt import naca4_mpt_test from naca4_symmetric import naca4_symmetric_test print ( '' ) print ( 'NACA_TEST:' ) print ( ' Python version: %s' % ( platform.python_version ( ) ) ) print ( ' Test the NACA library.' ) naca4_mpt_test ( ) naca4_symmetric_test ( ) code = 2412 m, p, t = naca4_mpt ( code ) naca4_cambered_test ( m, p, t ) naca4_display_test ( ) # # Terminate. # print ( '' ) print ( 'NACA_TEST:' ) print ( ' Normal end of execution.' ) return if ( __name__ == '__main__' ): from timestamp import timestamp timestamp ( ) naca_test ( ) timestamp ( )