function boxy_test ( )

%*****************************************************************************80
%
%% BOXY_TEST tests MESH_ETOE on a triangulation.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    04 September 2017
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'BOXY_TEST:\n' );
  fprintf ( 1, '  Demonstrate MESH_ETOE on a triangulation.\n' );
%
%  Load the ETOV information.
%
  etov = load ( 'boxy_elements.txt' );
  etov = etov';
  [ e_order, e_num ] = size ( etov );
%
%  Get the ETOE information.
%
  etoe = mesh_etoe ( e_order, e_num, etov );
%
%  Display ETOE.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, '  ETOE\n' );
  fprintf ( 1, '\n' );
  for e = 1 : e_num
    fprintf ( 1, '  %3d:  ', e );
    for j = 1 : e_order
      fprintf ( 1, ' %d', etoe(e,j) );
    end
    fprintf ( 1, '\n' );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'BOXY_TEST:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

