function pwl_interp_2d_scattered_test ( )

%*****************************************************************************80
%
%% pwl_interp_2d_scattered_test tests pwl_interp_2d_scattered.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    05 March 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../pwl_interp_2d_scattered' )
  addpath ( '../test_interp_2d' )
  addpath ( '../r8lib' )

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'pwl_interp_2d_scattered_test:\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test pwl_interp_2d_scattered.\n' );

  pwl_interp_2d_scattered_test01 ( );
  pwl_interp_2d_scattered_test02 ( );
%
%  Numerical tests.
%
  prob_num = f00_num ( );

  for prob = 1 : prob_num
    pwl_interp_2d_scattered_test03 ( prob );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'pwl_interp_2d_scattered_test:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../pwl_interp_2d_scattered' )
  rmpath ( '../test_interp_2d' )
  rmpath ( '../r8lib' )

  return
end

