function lollatz_sequence_test ( )

%*****************************************************************************80
%
%% lollatz_sequence_test() tests lollatz_sequence().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 June 2022
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'lollatz_sequence_test():\n' );
  fprintf ( 1, '  lollatz_sequence() computes a Lollatz sequence with\n' );
  fprintf ( 1, '  given starting value n.\n' );

  t = 5;
  step_max = 20;
  u = lollatz_sequence ( t, step_max );
  disp ( u );

  t = 8;
  step_max = 20;
  u = lollatz_sequence ( t, step_max );
  disp ( u );


  return
end
