function gray_code_random_test ( )

%*****************************************************************************80
%
%% gray_code_random_test() tests gray_code_random().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    11 September 2022
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, ' \n' );
  fprintf ( 1, 'gray_code_random_test():\n' );
  fprintf ( 1, '  gray_code_random() randomly selects a gray code of N digits.\n' );

  n = 6;

  for i = 1 : 10
    t = gray_code_random ( n );
    disp ( t );
  end

  return
end
