function rnglib_test ( )

%*****************************************************************************80
%
%% rnglib_test tests rnglib.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license. 
%
%  Modified:
%
%    07 March 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../rnglib' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'rnglib_test\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test rnglib.\n' );
%
%  Initialize RNGLIB.
%
  initialize ( )
%
%  Call tests.
%
  i4_uni_test ( );
  r8_uni_01_test ( );

  rnglib_test03 ( );
  rnglib_test04 ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'rnglib_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../rnglib' );

  return
end
