function triangle_angles_test ( )

%*****************************************************************************80
%
%% triangle_angles_test() tests triangle_angles().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    29 July 2023
%
%  Author:
%
%    John Burkardt
%
  t = [ ...
    0.0, 1.0; ...
    0.0, 0.0; ...
    1.0, 0.0 ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'triangle_angles_test():\n' );
  fprintf ( 1, '  triangle_angles() computes the angles of a triangle.\n' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Triangle vertices:\n' );
  disp ( t );

  angle = triangle_angles ( t );

  fprintf ( 1, '\n' );
  fprintf ( 1, '      Radians      Degrees\n' );
  fprintf ( 1, '\n' );
  for i = 1 : 3
    fprintf ( 1, '  %12f  %12f\n', angle(i), angle(i) * 180.0 / pi );
  end

  return
end
