function r8utp_test ( )

%*****************************************************************************80
%
%% r8utp_test() tests r8utp().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    20 August 2015
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../r8utp' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8utp_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test r8utp().\n' );

  r8ge_to_r8utp_test ( );
  r8utp_det_test ( );
  r8utp_indicator_test ( );
  r8utp_print_test ( );
  r8utp_print_some_test ( );
  r8utp_random_test ( );
  r8utp_size_test ( );
  r8utp_to_r8ge_test ( );
  r8utp_zeros_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8utp_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../r8utp' );

  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

