function random_sorted_test ( )

%*****************************************************************************80
%
%% random_sorted_test tests random_sorted.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    03 March 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../random_sorted' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'random_sorted_test:\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test random_sorted.\n' );

  r8vec_normal_01_sorted_test ( );
  r8vec_uniform_01_test ( );
  r8vec_uniform_01_sorted1_test ( );
  r8vec_uniform_01_sorted2_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'random_sorted_test:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../random_sorted' );

  return
end
