function vdc_test ( )

%*****************************************************************************80
%
%% vdc_test() tests vdc().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 August 2016
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'vdc_test():\n' );
  fprintf ( 1, '  vdc() returns the I-th element of a van der Corput sequence.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '    I          VDC(I)\n' );
  fprintf ( 1, '\n' );

  for i = -10 : 10
    r = vdc ( i );
    fprintf ( 1, '  %3d  %14.8f\n', i, r );
  end

  return
end
