function ranlib_test ( )

%*****************************************************************************80
%
%% ranlib_test() tests ranlib().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    04 March 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../ranlib' );
  addpath ( '../rnglib' );

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

  phrase = 'randomizer';

  ranlib_test_bot ( );

  ranlib_test_genbet ( phrase );
  ranlib_test_ignbin ( phrase );
  ranlib_test_genchi ( phrase );
  ranlib_test_genexp ( phrase );
  ranlib_test_genf ( phrase );
  ranlib_test_gengam ( phrase );
  ranlib_test_ignnbn ( phrase );
  ranlib_test_gennch ( phrase );
  ranlib_test_gennf ( phrase );
  ranlib_test_gennor ( phrase );
  ranlib_test_ignpoi ( phrase );
  ranlib_test_genunf ( phrase );

  phrtsd_test ( );
  snorm_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'ranlib_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../ranlib' );
  rmpath ( '../rnglib' );

  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

