function collatz_level_test ( )

%*****************************************************************************80
%
%% collatz_level_test() tests collatz_level().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    16 June 2022
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'collatz_level_test():\n' );
  fprintf ( 1, '  collatz_level(k) computes all the values which are\n' );
  fprintf ( 1, '  k steps away from 1.\n' );

  for k = 0 : 12
    lset = collatz_level ( k );
    fprintf ( 1, '  Level = %d, Size = %d\n', k, length ( lset ) );
    disp ( lset );
  end

  return
end
