function gram_beta_test ( )

%*****************************************************************************80
%
%% gram_beta_test() tests gram_beta().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    28 June 2019
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'gram_beta_test():\n' );
  fprintf ( 1, '  Test gram_beta()\n' );
%
%  Check beta.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, '       M = ' );
  for m = 0 : 5
    fprintf ( 1, '         %d', m );
  end
  fprintf ( 1, '\n' );

  for n = 0 : 5
    fprintf ( 1, '  N = %2d:  ', n );
    for m = 0 : 5
      if ( n < m )
        fprintf ( 1, '  %8.4f', gram_beta(n,m) );
      else
        fprintf ( 1, '  --------' );
      end
    end
    fprintf ( 1, '\n' );
  end

  return
end
