function fem1d_sample_test ( )

%*****************************************************************************80
%
%% FEM1D_SAMPLE_TEST tests FEM1D_SAMPLE.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    18 January 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../fem1d_sample' )

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'FEM1D_SAMPLE_TEST:\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test FEM1D_SAMPLE.\n' );

  fem_prefix = 'p1_fem';
  sample_prefix = 'p1_sample';
  fem1d_sample ( fem_prefix, sample_prefix );

  fem_prefix = 'p2_fem';
  sample_prefix = 'p2_sample';
  fem1d_sample ( fem_prefix, sample_prefix );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'FEM1D_SAMPLE_TEST:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../fem1d_sample' )

  return
end
