function paraheat_pwc_1d_test ( )

%*****************************************************************************80
%
%% paraheat_pwc_1d_test tests paraheat_pwc_1d.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    07 May 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../paraheat_pwc_1d' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'paraheat_pwc_1d_test\n' );
  fprintf ( 1, '  MATLAB version\n' );

  nc = 3;
  xc = [ 0.4, 0.5 ];
  vc = 0.5 + [ 9.5, 0.5, 2.5 ];

  [ ns, xs, vs ] = paraheat_pwc_1d ( nc, xc, vc );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Sensor data:\n' );
  fprintf ( 1, '  #  Location  Value\n' );
  fprintf ( 1, '\n' );
  for i = 1 : nc
    fprintf ( 1, '  %2d  %g  %g\n', i, xs(i), vs(i) );
  end

  fprintf ( 1, '\n' );
  fprintf ( 1, 'paraheat_pwc_1d_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../paraheat_pwc_1d' );

  return
end
