[Forwarding to Tutor; busy at the moment]

---------- Forwarded message ----------
Date: Mon, 6 Nov 2006 18:41:54 +0000
From: Asrarahmed Kadri <[EMAIL PROTECTED]>
To: Danny Yoo <[EMAIL PROTECTED]>
Subject: Re: [Tutor] Please help to debug this function.. it takes a date and
     num. of days and returns startdate and enddate

Hi Danny,

Can you please test it !!!
Also I would like to know if it can be coded in a better way...

TIA.

Regards,
Asrarahmed


On 11/6/06, Danny Yoo <[EMAIL PROTECTED]> wrote:
>
>
>
> On Mon, 6 Nov 2006, Asrarahmed Kadri wrote:
>
>> I have written a function that takes a date and an integer representing
>> the number of days.
>>
>> Please test it, comment on the logic .
>
>
> Hi Asrarahmed,
>
> You should be able to write your own tests too.  You might want to look
> at:
>
>     http://www.diveintopython.org/unit_testing/index.html
>
> for an example of how to write unit tests; the author there goes through
> an example with a Roman Numeral program written with unit tests.
>



-- 
To HIM you shall return.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to