function triangle_refine_centroids_test ( )

%*****************************************************************************80
%
%% triangle_refine_centroids_test() tests triangle_refine_centroids().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    22 March 2023
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'triangle_refine_centroids_test():\n' );
  fprintf ( 1, '  Test triangle_refine_centroids().\n' );

  c = 5;
  t = [ 4.0, 1.0; 8.0, 3.0; 0.0, 9.0 ];
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Triangle vertices:\n' );
  disp ( t )

  centroids = triangle_refine_centroids ( c, t );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Refined triangle centroids:\n' );
  disp ( centroids )
  
  return
end

