Discussion:
Release Test
(too old to reply)
ragulan.r
2010-10-26 23:50:11 UTC
Permalink
I'm getting the release test testDivideByZero wrong
am i outputting a number instead of the statement
or
is it something else
David Xingliang Lou (CS 137 Tutor)
2010-10-27 18:25:09 UTC
Permalink
Post by ragulan.r
I'm getting the release test testDivideByZero wrong
am i outputting a number instead of the statement
or
is it something else
testDivideByZero is an exhaustive test of all the possible ways you can
have the divide by zero error. It is possible that you are outputting a
number instead of the error message.
David Xingliang Lou (CS 137 Tutor)
2010-10-27 20:13:13 UTC
Permalink
Post by David Xingliang Lou (CS 137 Tutor)
Post by ragulan.r
I'm getting the release test testDivideByZero wrong
am i outputting a number instead of the statement
or
is it something else
testDivideByZero is an exhaustive test of all the possible ways you can
have the divide by zero error. It is possible that you are outputting a
number instead of the error message.
And when I say 'exhaustive'. I do mean exhaustive. Literally. =)
ragulan.r
2010-10-28 23:50:06 UTC
Permalink
On Oct 27, 4:13 pm, "David Xingliang Lou (CS 137 Tutor)"
Post by David Xingliang Lou (CS 137 Tutor)
Post by David Xingliang Lou (CS 137 Tutor)
Post by ragulan.r
I'm getting the release test testDivideByZero wrong
am i outputting a number instead of the statement
or
is it something else
testDivideByZero is an exhaustive test of all the possible ways you can
have the divide by zero error. It is possible that you are outputting a
number instead of the error message.
And when I say 'exhaustive'. I do mean exhaustive. Literally. =)
Is it possible that an intermediate calculation may be causing the
error instead of the final output which may be right?

Loading...