[Issue 18715] New: Non-documented unittests should not use unpredictableSeed or default Random alias
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 3 12:41:32 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18715
Issue ID: 18715
Summary: Non-documented unittests should not use
unpredictableSeed or default Random alias
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: n8sh.secondary at hotmail.com
Rationale:
https://github.com/dlang/phobos/pull/6410#discussion_r178660995
>Use a fixed seed and a fixed engine, everything else might lead to random coverage changes.
Exceptions are made for public unittests that may be meant to demonstrate use
of unpredictableSeed and/or the default Random.
--
More information about the Digitalmars-d-bugs
mailing list