function boxy_test ( )

%*****************************************************************************80
%
%% boxy_test() tests mesh_etoe() on a triangulation.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    04 September 2017
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'boxy_test():\n' );
  fprintf ( 1, '  mesh_etoe() is applied to 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

  return
end

