unit-threaded v0.6.5 - Type-parametrized tests

Atila Neves via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Mar 10 02:52:08 PST 2016


On Thursday, 10 March 2016 at 09:33:39 UTC, Iakh wrote:
> On Wednesday, 9 March 2016 at 18:01:49 UTC, Atila Neves wrote:
>> @Types!(int, byte)
>> void testInit(T)() {
>>     assert(T.init == 0);
>> }
>>
>> Atila
>
> It is not clear that this UDA is about unittesting

Even when attached to a test function?

Atila


More information about the Digitalmars-d-announce mailing list