function r8st_test ( )

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

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8st_test():\n' );
  fprintf ( 1, '  MATLAB version:\n' );
  fprintf ( 1, '  Test r8st().\n' );

  r8st_cg_test ( );
  r8st_diagonal_test ( );
  r8st_dif2_test ( );
  r8st_ij_to_k_test ( );
  r8st_indicator_test ( );
  r8st_jac_sl_test ( );
  r8st_mtv_test ( );
  r8st_mv_test ( );
  r8st_print_test ( );
  r8st_print_some_test ( );
  r8st_random_test ( );
  r8st_read_test ( );
  r8st_res_test ( );
  r8st_to_r8ge_test ( );
  r8st_to_r8ncf_test ( );
  r8st_write_test ( );
  r8st_zeros_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8st_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../r8st' );

  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

