function triangle_to_vertex_test ( )

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

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

  v = triangle_to_vertex ( t );
  name = '  Tiny example: vertex list';
  vertex_print ( v, name );

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

  v = triangle_to_vertex ( t );
  name = '  Gort: vertex list';
  vertex_print ( v, name );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'triangle_to_vertex_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

