function randlc_test ( )

%*****************************************************************************80
%
%% randlc_test() tests randlc().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    03 September 2022
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../randlc' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'randlc_test():\n' );
  fprintf ( 1, '  MATLAB version:\n' );
  fprintf ( 1, '  Test randlc().\n' );

  randlc_test01 ( );
  randlc_test02 ( );
  randlc_test03 ( );
  randlc_test04 ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'randlc_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../randlc' );

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the current YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  t = now;
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

