function boundary_to_edge_test ( )

%*****************************************************************************80
%
%% boundary_to_edge_test() tests boundary_to_edge().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 November 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'boundary_to_edge_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  boundary_to_edge() converts a boundary word to an edge list.\n' );

  [ w, p ] = boundary_tiny ( );
  name = '  Tiny example: boundary word';
  boundary_print ( w, p, name );

  e = boundary_to_edge ( w, p );
  name = '  Tiny example: edge list';
  edge_print ( e, name );

  [ w, p ] = boundary_gort ( );
  name = '  Gort: boundary word';
  boundary_print ( w, p, name );

  e = boundary_to_edge ( w, p );
  name = '  Gort: edge list';
  edge_print ( e, name );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'boundary_to_edge_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

