#! /usr/bin/env python # def simplex_coordinates_test ( ): #*****************************************************************************80 # ## SIMPLEX_COORDINATES_TEST tests the SIMPLEX_COORDINATES library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 28 June 2015 # # Author: # # John Burkardt # import platform from r8_factorial import r8_factorial_test from r8_factorial_values import r8_factorial_values_test from r8mat_transpose_print import r8mat_transpose_print_test from r8mat_transpose_print_some import r8mat_transpose_print_some_test from simplex_coordinates1 import simplex_coordinates1_test from simplex_coordinates2 import simplex_coordinates2_test from simplex_volume import simplex_volume_test from simplex01_volume import simplex01_volume_test print ( '' ) print ( 'SIMPLEX_COORDINATES_TEST' ) print ( ' Python version: %s' % ( platform.python_version ( ) ) ) print ( ' Test the SIMPLEX_COORDINATES library.' ) # # Utility routines: # r8_factorial_test ( ) r8_factorial_values_test ( ) r8mat_transpose_print_test ( ) r8mat_transpose_print_some_test ( ) # # Library routines: # simplex_coordinates1_test ( 3 ) simplex_coordinates1_test ( 4 ) simplex_coordinates2_test ( 3 ) simplex_coordinates2_test ( 4 ) simplex_volume_test ( ) simplex01_volume_test ( ) # # Terminate. # print ( '' ) print ( 'SIMPLEX_COORDINATES_TEST:' ) print ( ' Normal end of execution.' ) return if ( __name__ == '__main__' ): from timestamp import timestamp timestamp ( ) simplex_coordinates_test ( ) timestamp ( )