Generating Strings with Random Contents

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 14 15:37:08 PDT 2014


Nordlöw:

> I was specifically interested in something that exercises 
> (random samples) potentially _all_ code points for string, 
> wstring and dstring (all code units that is).

That's harder. Generating all uints and then testing if it's a 
Unicode dchar seems possible.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list