{ ******************************************************************
  Test of UVAG random number generator

  By Alex Hay (zenjew@hotmail.com) - Adapted to TPMath by Jean Debord

  This program prints 1000 random integers, computed with the default
  initialization. The results should be identical to file uvag.txt
  ****************************************************************** }

program testuvag;

uses
  tpmath;

var
  I : Word;
  R : LongInt;

begin
  SetRNG(RNG_UVAG);

  for I := 1 to 1000 do
    begin
      R := IRanGen;
      Write(R:15);
      if I mod 5 = 0 then Writeln;
    end;
end.