You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the subject, we should expect that the user will input the parameters perfectly and hence we shouldn't treat input errors (other than the wrong number of arguments).
subject:
You can assume the string have no mistakes or extraneous characters. Negative
numbers, in input or output, will have one and only one leading '-'. The
result of the operation fits in an int.
But as you can see here, the tester is expecting a specific output from a case where an undefined behavior should be expected and the output totally ignored.
test trace:
----------------8<-------------[ START TEST
💻 TEST
./a.out "9828" ""234"
🔎 YOUR OUTPUT:
10062$
🗝 EXPECTED OUTPUT:
0$
----------------8<------------- END TEST ]
There is an extraneous '"' character in ./a.out "9828" ""234", therefore, this test should simply not exist.
The text was updated successfully, but these errors were encountered:
According to the subject, we should expect that the user will input the parameters perfectly and hence we shouldn't treat input errors (other than the wrong number of arguments).
subject:
But as you can see here, the tester is expecting a specific output from a case where an undefined behavior should be expected and the output totally ignored.
test trace:
There is an extraneous '"' character in
./a.out "9828" ""234"
, therefore, this test should simply not exist.The text was updated successfully, but these errors were encountered: