function r8col_test ( )

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

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8col_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test r8col()\n' );

  i4_log_10_test ( );

  i4vec_indicator1_test ( );
  i4vec_print_test ( );
  i4vec_transpose_print_test ( );

  perm1_check_test ( );

  r8col_find_test ( );
  r8col_indicator_test ( );
  r8col_insert_test ( );
  r8col_max_test ( );
  r8col_mean_test ( );
  r8col_min_test ( );
  r8col_permute_test ( );
  r8col_print_test ( );
  r8col_print_some_test ( );
  r8col_sort_heap_a_test ( );
  r8col_sort_heap_index_a_test ( );
  r8col_sort_quick_a_test ( );
  r8col_sorted_tol_unique_test ( );
  r8col_sorted_tol_unique_count_test ( );
  r8col_sorted_tol_undex_test ( );
  r8col_sortr_a_test ( );
  r8col_sum_test ( );
  r8col_swap_test ( );
  r8col_to_r8vec_test ( );
  r8col_tol_undex_test ( );
  r8col_transpose_print_test ( );
  r8col_undex_test ( );
  r8col_uniform_ab_test ( );
  r8col_unique_count_test ( );
  r8col_variance_test ( );

  r8vec_print_test ( );

  sort_heap_external_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8col_test()\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../r8col' );

  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

