function latin_center_test01 ( )

%*****************************************************************************80
%
%% latin_center_test01() tests latin_center().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 April 2007
%
%  Author:
%
%    John Burkardt
%
  dim_num = 2;
  point_num = 10;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'latin_center_test01():\n' );
  fprintf ( 1, '  latin_center() chooses a Latin cell arrangement,\n' );
  fprintf ( 1, '  and returns the centers of those cells.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Spatial dimension = %d\n', dim_num );
  fprintf ( 1, '  Number of points =  %d\n', point_num );

  x = latin_center ( dim_num, point_num );
  x = sortrows ( x );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  The Latin center points:\n' );
  fprintf ( 1, '\n' );
  disp ( x )

  return
end
