function edge_to_boundary_test ( )

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

  e = edge_tiny ( );
  name = '  Tiny edge list';
  edge_print ( e, name );

  [ w, p ] = edge_to_boundary ( e );
  name = '  Tiny boundary list';
  boundary_print ( w, p, name );

  e = edge_gort ( );
  name = '  Gort edge list';
  edge_print ( e, name );

  [ w, p ] = edge_to_boundary ( e );
  name = '  Gort boundary list';
  boundary_print ( w, p, name );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'edge_to_boundary_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

