function delannoy_values_test ( )

%*****************************************************************************80
%
%% delannoy_values_test() tests delannoy_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 July 2026
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'delannoy_values_test():\n' );
  fprintf ( 1, '  delannoy_values() stores values of the Delannoy number D(M,N).\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '       M       N       D\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, m, n, d ] = delannoy_values ( n_data );

    if ( n_data == 0 )
      break
    end

    fprintf ( 1, '  %6d  %6d  %10d\n', m, n, d );

  end

  return
end
