function tet_mesh_quad_test ( )

%*****************************************************************************80
%
%% tet_mesh_quad_test tests tet_mesh_quad.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    01 April 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../tet_mesh_quad' )

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'tet_mesh_quad_test:\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test tet_mesh_quad.\n' );

  [ quad_val, volume_sum ] = tet_mesh_quad ( 'cube_4x4x4' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  volume_sum = %g\n', volume_sum );

  [ m, n ] = size ( quad_val );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Quad values:\n' );
  fprintf ( 1, '\n' );
  for i = 1 : m
    fprintf ( 1, '  %d  %g\n', i, quad_val(i) );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'tet_mesh_quad_test:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../tet_mesh_quad' )

  return
end
