|
|
$ ./pgm < /dev/null
Programs should handle empty input.
$ ./pgm < pgm
Programs should handle garbage input.
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
1 | ||||||||
2 | ||||||||
3 | ||||||||
4 | ||||||||
5 | ||||||||
6 |
0 0 10 10
not like this:
Yard with obstructions marked. 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Pool Size. 0 0 1 1
$ ./pgm < pgm
is "Yes."
../../test-code: line 165: 10192 Segmentation fault ... ../../test-code: line 133: 10060 Killed ...
This page last modified on 8 February 2006. |
This work is covered by a |