[Tutor] crashed with Runtime Error: NZEC (non-zero exit code)
Andrei Petre
andrei.petre at gmail.com
Wed Feb 27 23:14:02 CET 2008
i'm thinking the same way Eric do.
On Wed, Feb 27, 2008 at 11:18 PM, Eric Brunson <brunson at brunson.com> wrote:
> Alan Gauld wrote:
>
> "bob gailer" <bgailer at alum.rpi.edu> <bgailer at alum.rpi.edu> wrote
>
>
>
> i don't really understand that. you are trying to say that the
> tests
> from the online judge are not "exactly good" ?
>
>
> Yes that's exactly what I'm saying. At least one test case has a
> non-decimal character.
>
>
> Which actually makes it a very good test since thats
> exactly the kind of thing you should be testing for :-)
> A test suite that only checks valid data is a bad test.
>
>
>
>
> That's fine if writing a test suite for production software, but from the
> problem description: "There is a string containing only decimal digit
> characters."
>
> Testing for valid input seems to be outside the scope of the problem
> definition. :-)
>
>
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080228/d63141c8/attachment.htm
More information about the Tutor
mailing list