function random_data_test ( )

%*****************************************************************************80
%
%% random_data_test() tests random_data().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 April 2022
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../random_data' );

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

  brownian_test ( );
  normal_circular_test ( );
  normal_square_test ( );
  uniform_in_annulus_test ( );
  uniform_in_annulus_sector_test ( );
  uniform_in_circle_test ( );
  uniform_in_ellipse_test ( );
  uniform_in_ellipsoid_test ( );
  uniform_in_hexagon_test ( );
  uniform_in_hypercube_test ( );
  uniform_in_hypersphere_test ( );
  uniform_in_parallelogram_test ( );
  uniform_in_polygon_test ( );
  uniform_in_sector_test ( );
  uniform_in_simplex_test ( );
  uniform_in_tetrahedron_test ( );
  uniform_in_triangle_test ( );

  uniform_on_circle_test ( );
  uniform_on_ellipse_test ( );
  uniform_on_ellipsoid_test ( );
  uniform_on_hemisphere_phong_test ( );
  uniform_on_hypercube_test ( );
  uniform_on_hypersphere_test ( );
  uniform_on_simplex_test ( );
  uniform_on_sphere_patch_test ( );
  uniform_on_sphere_triangle_test ( );
  uniform_on_triangle_test ( );

  uniform_walk_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'random_data_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../random_data' );

  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

