function binomial_values_test ( )

%*****************************************************************************80
%
%% binomial_values_test() tests binomial_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    02 February 2009
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'binomial_values_test():\n' );
  fprintf ( 1, '  binomial_values() returns values of\n' );
  fprintf ( 1, '  the binomial numbers.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '     A     B        C(A,B)\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, a, b, c ] = binomial_values ( n_data );

    if ( n_data == 0 )
      break
    end

    fprintf ( 1, '  %4d  %4d  %10d\n', a, b, c );

  end

  return
end
