function triangle_to_edge_test ( )

%*****************************************************************************80
%
%% triangle_to_edge_test tests triangle_to_edge().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    04 November 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'triangle_to_edge_test\n' );
  fprintf ( 1, '  triangle_to_edge() converts a triangle list to an edge list.\n' );

  t = triangle_tiny ( );
  name = '  Tiny example: triangle list';
  triangle_print ( t, name );

  e = triangle_to_edge ( t );
  name = '  Tiny example: edge list';
  edge_print ( e, name );

  t = triangle_gort ( );
  name = '  Gort: triangle list';
  triangle_print ( t, name );

  e = triangle_to_edge ( t );
  name = '  Gort: edge list';
  edge_print ( e, name );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'triangle_to_edge_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

