www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - unittest

reply Thomas Kuehne <thomas-dloop kuehne.cn> writes:
class.html:
 Unit tests are a series of test cases applied to a class to determin if it
 is working properly.

It seems that unittests aren't only applied to classes but also to modules, unions and structs. test case: svn://svn.kuehne.cn/dstress/run/unittest_0[345].d Thomas
Nov 01 2004
parent "Walter" <newshound digitalmars.com> writes:
"Thomas Kuehne" <thomas-dloop kuehne.cn> wrote in message
news:cm5ovr$2oia$1 digitaldaemon.com...
 class.html:
 Unit tests are a series of test cases applied to a class to determin if


 is working properly.

It seems that unittests aren't only applied to classes but also to

 unions and structs.

That's correct. Looks like the documentation might be in error.
 test case:
 svn://svn.kuehne.cn/dstress/run/unittest_0[345].d

 Thomas

Nov 02 2004