function blend_test ( )

%*****************************************************************************80
%
%% BLEND_TEST tests the BLEND library.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    02 December 2018
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../blend' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'BLEND_TEST\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test the BLEND library.\n' );

  blend_101_test ( );
  blend_102_test ( );
  blend_103_test ( );

  blend_112_test ( );
  blend_113_test ( );

  blend_123_test ( );

  blend_i_0d1_test ( );

  blend_ij_0d1_test ( );
  blend_ij_1d1_test ( );
  blend_ij_w_1d1_test ( );

  blend_ijk_0d1_test ( );
  blend_ijk_1d1_test ( );
  blend_ijk_2d1_test ( );

  blend_r_0dn_test ( );
  blend_r_0dn_identity_test ( );
  blend_r_0dn_stretch_test ( );

  blend_rs_0dn_test ( );
  blend_rs_0dn_identity_test ( );
  blend_rs_0dn_stretch_test ( );

  blend_rs_1dn_test ( );
  blend_rs_1dn_identity_test ( );
  blend_rs_1dn_stretch_test ( );

  blend_rst_0dn_identity_test ( );
  blend_rst_0dn_stretch_test ( );

  blend_rst_1dn_identity_test ( );
  blend_rst_1dn_stretch_test ( );

  blend_rst_2dn_identity_test ( );
  blend_rst_2dn_stretch_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'BLEND_TEST\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../blend' );

  return
end
