I don't think that's a bug.
Since the function uses an
LCG, RndSeed() is executed at startup, and that uses the system time as the initial value.
So during normal program execution, there's no longer any dependence on time. It's only noticeable because the test program is restarted with each run.