tested dist of c++ random