function triangle_symq_rule_convert_test ( )

%*****************************************************************************80
%
%% triangle_symq_rule_convert_test() tests triangle_symq_rule_convert().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    25 September 2024
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../triangle_symq_rule_convert' );
  addpath ( '../triangle_symq_rule_original' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'triangle_symq_rule_convert_test():\n' );
  fprintf ( 1, '  Extract quadrature rules from Xiao and Gimbutas code,\n' );
  fprintf ( 1, '  and recast them as barycentric form for a reference triangle.\n' );

  for p = 1 : 50
    triangle_symq_rule_convert ( p );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'triangle_symq_rule_convert_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  timestamp ( );

  rmpath ( '../triangle_symq_rule_convert' );
  rmpath ( '../triangle_symq_rule_original' );

  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 November 2022
%
%  Author:
%
%    John Burkardt
%
  t = now ( );
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

