#! /usr/bin/env python # def l4lib_test ( ): #*****************************************************************************80 # ## L4LIB_TEST tests the L4LIB library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 14 September 2018 # # Author: # # John Burkardt # import platform from i4_to_l4 import i4_to_l4_test from i4_to_l4vec import i4_to_l4vec_test from l4_to_i4 import l4_to_i4_test from l4_to_s import l4_to_s_test from l4_uniform import l4_uniform_test from l4_xor import l4_xor_test from l4mat_print import l4mat_print_test from l4mat_print_some import l4mat_print_some_test from l4mat_transpose_print import l4mat_transpose_print_test from l4mat_transpose_print_some import l4mat_transpose_print_some_test from l4mat_uniform import l4mat_uniform_test from l4vec_next import l4vec_next_test from l4vec_print import l4vec_print_test from l4vec_uniform import l4vec_uniform_test from s_to_l4 import s_to_l4_test print ( '' ) print ( 'L4LIB_TEST' ) print ( ' Python version: %s' % ( platform.python_version ( ) ) ) print ( ' Test the L4LIB library.' ) i4_to_l4_test ( ) i4_to_l4vec_test ( ) l4_to_i4_test ( ) l4_to_s_test ( ) l4_uniform_test ( ) l4_xor_test ( ) l4mat_print_test ( ) l4mat_print_some_test ( ) l4mat_transpose_print_test ( ) l4mat_transpose_print_some_test ( ) l4mat_uniform_test ( ) l4vec_next_test ( ) l4vec_print_test ( ) l4vec_uniform_test ( ) s_to_l4_test ( ) # # Terminate. # print ( '' ) print ( 'L4LIB_TEST:' ) print ( ' Normal end of execution.' ) print ( '' ) return if ( __name__ == '__main__' ): from timestamp import timestamp timestamp ( ) l4lib_test ( ) timestamp ( )