function van_der_corput_values_test ( )

%*****************************************************************************80
%
%% van_der_corput_values_test() tests van_der_corput_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    01 February 2009
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1,  'van_der_corput_values_test():\n' );
  fprintf ( 1,  '  van_der_corput_values() stores values of\n' );
  fprintf ( 1,  '  the van der Corput sequence in a given base.\n' );
  fprintf ( 1,  '\n' );
  fprintf ( 1,  '	BASE	  key    VDC(BASE,key)\n' );
  fprintf ( 1,  '\n' );

  n_data = 0;

  while ( true )

    [ n_data, base, key, value ] = van_der_corput_values ( n_data );

    if ( n_data == 0 )
      break
    end

    fprintf ( 1, '  %8d  %8d  %24.16e\n', base, key, value );

  end

  return
end
