www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18715] New: Non-documented unittests should not use

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 puremagic.com
          Reporter: n8sh.secondary 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. --
Apr 03 2018