function r8vec_even3_test ( )

%*****************************************************************************80
%
%% r8vec_even3_test() tests r8vec_even3().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 April 2009
%
%  Author:
%
%    John Burkardt
%
  nold = 4;
  nval = 12;

  xold = [ 0.0, 5.1, 7.0, 10.0 ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VEC_EVEN3_TEST\n' );
  fprintf ( 1, '  R8VEC_EVEN3 tries to evenly interpolate new data\n' );
  fprintf ( 1, '  between old values.\n' );
 
  r8vec_print ( nold, xold, '  Original vector:' );

  xval = r8vec_even3 ( nold, nval, xold );
 
  r8vec_print ( nval, xval, '  New vector:' );
 
  return
end
