Discussion:
A5: error cases?
(too old to reply)
Jeremy Roman
2011-07-09 21:45:24 UTC
Permalink
Hello:

To what degree must we handle error cases (malformed arguments/input in
particular)? The sample solution fails due to assertions in a number of
such cases, so I assume that the exact output need not match, but it
would be nice to know which cases we must handle, and which we can leave
as "undefined behavior" because they will not be tested.

Thanks,
--
Jeremy Roman
Student, Computer Science
University of Waterloo
Ashif Harji
2011-07-17 02:47:34 UTC
Permalink
The project web page has been updated with respect to this issue. Please
refer to the Milestone 2 section for details.

ashif
Post by Jeremy Roman
To what degree must we handle error cases (malformed arguments/input in
particular)? The sample solution fails due to assertions in a number of such
cases, so I assume that the exact output need not match, but it would be nice
to know which cases we must handle, and which we can leave as "undefined
behavior" because they will not be tested.
Thanks,
--
Jeremy Roman
Student, Computer Science
University of Waterloo
Loading...