function r8crs_test ( )

%*****************************************************************************80
%
%% r8crs_test() tests r8crs().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2020
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../r8crs' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8crs_test():\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test r8crs().\n' );

  r8crs_dif2_test ( );
  r8crs_indicator_test ( );
  r8crs_mtv_test ( );
  r8crs_mv_test ( );
  r8crs_print_test ( );
  r8crs_print_some_test ( );
  r8crs_random_test ( );
  r8crs_to_r8ge_test ( );
  r8crs_zeros_test ( );
  r8ge_to_r8crs_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8crs_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../r8crs' );

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the current YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  t = now;
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

