How is uniform random number generator tested?

Writing a uniform random generator is challenging enough but what intrigues me is how is the test code written for it. It is very clear that leetcode is doing it well in its test cases. Any ideas on how one can write the test code to validate uniform random number generator?

Comments (2)