function boundary_to_triangle_test ( )

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

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

  t = boundary_to_triangle ( w, p );
  name = '  Gort triangle list'
  triangle_print ( t, name );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'boundary_to_triangle_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

