function l4lib_test ( )

%*****************************************************************************80
%
%% l4lib_test() tests l4lib().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 February 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../l4lib' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'l4lib_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test l4lib().\n' );

  i4_to_l4_test ( );
  i4_to_l4vec_test ( );

  l4_to_i4_test ( );
  l4_to_s_test ( );
  l4_uniform_test ( );
  l4_xor_test ( );

  l4mat_print_test ( );
  l4mat_print_some_test ( );
  l4mat_transpose_print_test ( );
  l4mat_transpose_print_some_test ( );
  l4mat_uniform_test ( );

  l4vec_next_test ( );
  l4vec_print_test ( );
  l4vec_uniform_test ( );

  s_to_l4_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'l4lib_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../l4lib' );

  return
end
function timestamp ( )

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

  return
end

