#! /usr/bin/env python # def line_integrals_test ( ): #*****************************************************************************80 # ## LINE_INTEGRALS_TEST tests the LINE_INTEGRALS library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 22 June 2015 # # Author: # # John Burkardt # import platform from i4_uniform_ab import i4_uniform_ab_test from line01_length import line01_length_test from line01_monomial_integral import line01_monomial_integral_test from line01_sample import line01_sample_test from monomial_value_1d import monomial_value_1d_test from r8vec_print import r8vec_print_test from r8vec_uniform_01 import r8vec_uniform_01_test from r8vec_uniform_ab import r8vec_uniform_ab_test print ( '' ) print ( 'LINE_INTEGRALS_TEST' ) print ( ' Python version: %s' % ( platform.python_version ( ) ) ) print ( ' Test the LINE_INTEGRALS library.' ) # # Utility functions. # i4_uniform_ab_test ( ) r8vec_print_test ( ) r8vec_uniform_01_test ( ) r8vec_uniform_ab_test ( ) # # Library functions. # line01_length_test ( ) line01_monomial_integral_test ( ) line01_sample_test ( ) monomial_value_1d_test ( ) # # Terminate. # print ( '' ) print ( 'LINE_INTEGRALS_TEST:' ) print ( ' Normal end of execution.' ) return if ( __name__ == '__main__' ): from timestamp import timestamp timestamp ( ) line_integrals_test ( ) timestamp ( )