function triangle_to_boundary_test ( )

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

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

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

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

  [ w, p ] = triangle_to_boundary ( t );
  name = '  Gort: boundary word';
  boundary_print ( w, p, name );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'triangle_to_boundary_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

