function r8vec_linspace2_test ( )

%*****************************************************************************80
%
%% R8VEC_LINSPACE2_TEST tests R8VEC_LINSPACE2.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 August 2016
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VEC_LINSPACE2_TEST\n' );
  fprintf ( 1, '  R8VEC_LINSPACE2: evenly spaced points between A and B;\n' );

  a = 10.0;
  b = 20.0;

  x = r8vec_linspace2 ( n, a, b );
  r8vec_print ( n, x, '  r8vec_linspace2 ( 5, 10, 20 )' );

  return
end
