Kazuhito SUGURI wrote:

Hi,

In article <[EMAIL PROTECTED]>,
Thu, 04 Mar 2004 11:36:05 -0500,
"J. B. Rainsberger" <[EMAIL PROTECTED]> wrote: jbrains> Why are you testing the compiler?


Dinesh may be wanting to check the expected methods are
called with expected sequence while his/her process,
or wanting to trace a method call chain.

Of cource, I may misunderstanding :-)

OK. There are two methods:


f(int a, int b, int c) {
    // something complex
}

f(int a, int b) {
    f(a, b, 0);
}

Test f(a,b,c), making sure to test the case c=0 in particular. f(a,b) is Too Simple to Break.
--
J. B. Rainsberger,
Diaspar Software Services
http://www.diasparsoftware.com :: +1 416 791-8603
Let's write software that people understand


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to