function blend_test ( )

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

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'blend_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test blend().\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
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the current YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  t = now;
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

