On Thu, Mar 7, 2013 at 2:36 PM, akuma ukpo <johnnyu...@gmail.com> wrote:
> I am defining the function in one .py file and testing the function in
> another .py file.
>
> this is my code for the test:
>
>     def test_quantity_convert(self):
>         self.assertEqual(gallons_to_cups(0), 16)


Good, thanks for showing us how you're testing this.

I disagree with this specific test.  If I don't have any gallons, how
can that become sixteen cups?
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to