www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15769] New: Unittests example should have titles


          Issue ID: 15769
           Summary: Unittests example should have titles
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: greeenify gmail.com

We see multiple Examples statement and the title of the snippet is display as a

e.g. http://dlang.org/phobos/std_algorithm_sorting.html#sort

// Showcase stable sorting

// Sorting floating-point numbers in presence of NaN

Ideally I think we should 
1) only show "Examples" once (easy)
2) get the title from the comment string above the unittest  (maybe trickier)

Mar 05 2016