function triangle_sort_test ( )

%*****************************************************************************80
%
%% triangle_sort_test tests triangle_sort().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    12 November 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'triangle_sort_test\n' );
  fprintf ( 1, '  triangle_sort() sorts the triangle list\n' );
  fprintf ( 1, '  of a polyiamond.\n' );

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

  t2 = triangle_sort ( t );
  triangle_print ( t2, '  Gort: sorted triangle list:' );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'triangle_sort_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
