function latin_random_test01 ( )

%*****************************************************************************80
%
%% latin_random_test01() tests latin_random().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 July 2021
%
%  Author:
%
%    John Burkardt
%
  dim_num = 2;
  point_num = 10;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'latin_random_test01():\n' );
  fprintf ( 1, '  latin_random() chooses a Latin cell arrangement,\n' );
  fprintf ( 1, '  and returns a random point from each cells.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Spatial dimension = %d\n', dim_num );
  fprintf ( 1, '  Number of points =  %d\n', point_num );
  fprintf ( 1, '\n' );

  x = latin_random ( dim_num, point_num );

  disp ( x' );

  return
end
