http://d.puremagic.com/issues/show_bug.cgi?id=4653
--- Comment #1 from Jonathan M Davis 2010-08-16
02:09:45 PDT ---
Hmm. I forgot the in on the "expected" parameter. Oh well, it should be added.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are rec
http://d.puremagic.com/issues/show_bug.cgi?id=4653
Andrej Mitrovic changed:
What|Removed |Added
CC||andrej.mitrov...@gmail.com
--- Comme
http://d.puremagic.com/issues/show_bug.cgi?id=4653
--- Comment #3 from Jonathan M Davis 2010-08-16
14:39:44 PDT ---
It's not necessarily a bad idea, but it doesn't work as well with the error
messages - and the improved error messages is the main reason for having these
sort of functions over
http://d.puremagic.com/issues/show_bug.cgi?id=4653
--- Comment #4 from Andrej Mitrovic 2010-08-16
14:52:07 PDT ---
Oops, I didn't realize that you've posted some actual code up there. I'll have
a look to understand this better.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.
http://d.puremagic.com/issues/show_bug.cgi?id=4653
--- Comment #5 from Jonathan M Davis 2010-08-17
23:08:49 PDT ---
Created an attachment (id=723)
Some useful unit testing functions.
Okay. I'm attaching some functions that I've already done which seem quite
useful - namely assertEqual(), asse
http://d.puremagic.com/issues/show_bug.cgi?id=4653
Jonathan M Davis changed:
What|Removed |Added
Attachment #723 is|0 |1
obsolete|
http://d.puremagic.com/issues/show_bug.cgi?id=4653
Jonathan M Davis changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=4653
--- Comment #8 from Andrej Mitrovic 2013-02-25
14:48:41 PST ---
I don't know whether assertEqual and other others will ever get in
(assertThrown/assertNotThrown did), but the implementation can be seriously
simplified.
Here's an example of so
http://d.puremagic.com/issues/show_bug.cgi?id=4653
--- Comment #9 from Jonathan M Davis 2013-02-25 15:16:30
PST ---
Cute. assertPred was the evolution of this, and it did a lot of nice stuff
(though it wouldn't surprise me it all if it could be improved), but it got
shot down as far as Phobos