[Issue 4653] More unit test functions should be added - like assertEqual() and assertNotEqual()
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 16 07:00:20 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4653
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2010-08-16 07:00:16 PDT ---
AFAIK you could make a template that accepts a string literal (I think alias is
used for that), e.g. "x < y" or "x == y", which would maybe be a better idea
than to have duplicated code and a dozen "assertEqual, assertNotEqual" special
purpose functions.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list