function blend_r_0dn_identity_test ( )

%*****************************************************************************80
%
%% BLEND_R_0DN_IDENTITY_TEST checks for a gross error in the blend coefficients.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    22 October 2008
%
%  Author:
%
%    John Burkardt
%
  nmax = 3;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'BLEND_R_0DN_IDENTITY_TEST\n' );
  fprintf ( 1, '  Simple identity test to detect gross errors.\n' );
%
%  Set N to 1.
%
  n = 1;
%
%  Test BLEND_R_0DN on identity.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'Identity test for BLEND_R_0DN:\n' );
  fprintf ( 1, '\n' );
  r = 0.0;
  x = blend_r_0dn ( r, n, @identity_r );
  fprintf ( 1, '  %8f  %8f\n', r, x(1) );

  r = 1.0;
  x = blend_r_0dn ( r, n, @identity_r );
  fprintf ( 1, '  %8f  %8f\n', r, x(1) );

  r = 0.5;
  x = blend_r_0dn ( r, n, @identity_r );
  fprintf ( 1, '  %8f  %8f\n', r, x(1) );

  return
end
