Unttests for nested functions

BCS BCS_member at pathlink.com
Mon May 29 16:15:00 PDT 2006


that is what I was expecting. :P  Any thoughts on how to make it so you can?
(ref. my second post)

In article <1o4n88vezpkym$.1cj5tqvwrl0up$.dlg at 40tude.net>, Derek Parnell says...
>
>On Sun, 28 May 2006 02:46:24 +0000 (UTC), BCS wrote:
>
>> how do I unittest bar?
>
>Currently one can't directly test it using unit tests, however on the
>assumption that the outer function uses the inner function I guess you can
>test it indirectly, plus you can also use inner asserts and DbC.
[...]





More information about the Digitalmars-d-learn mailing list