[Tutor] Need help with function coding.
Danny Yoo
dyoo at hashcollision.org
Thu Mar 7 23:56:28 CET 2013
On Thu, Mar 7, 2013 at 2:36 PM, akuma ukpo <johnnyukpo at 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?
More information about the Tutor
mailing list