unittest ddoc.

Don Clugston dac at nospam.com
Mon Jan 30 10:34:12 PST 2012


On 30/01/12 19:28, Marco Leise wrote:
> Am 30.01.2012, 18:55 Uhr, schrieb Don Clugston <dac at nospam.com>:
>
>> OR:
>> /** optionally explain what this test is doing */
>> unittest {.... }
>
> Not bad. So a documented unittest would be turned into an example
> section with "optinally explain what this test is doing" in DDoc?

Yes.
Has the advantage that it doesn't require any new syntax.


More information about the Digitalmars-d mailing list