function triangle_area_test ( )

%*****************************************************************************80
%
%% triangle_area_test() tests triangle_area().
%
%  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_area_test():\n' );
  fprintf ( 1, '  triangle_area() computes the area of a triangle.\n' );

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

  area = triangle_area ( t );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Triangle area is %g\n', area );

  return
end
