function pool_test ( )

%*****************************************************************************80
%
%% pool_test() tests MESH_ETOE on a quadrilateral mesh.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    04 September 2017
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'pool_test():\n' );
  fprintf ( 1, '  mesh_etoe() is applied to a quadrilateral mesh.\n' );
%
%  Load the ETOV information.
%
  etov = load ( 'pool_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, 'pool_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

