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
Passing means the program behaves as intended, failing means it does something else.
If your program throws an exception or otherwise panics, you can't use test_output!, but adding these programs is still very important.
If your program does run to completion, even if the output is wrong, use test_output! and include the incorrect output. Add a comment below that saying what the output should be instead.
(By the way, exceptions shouldn't panic... they just currently do.)
The text was updated successfully, but these errors were encountered:
Input test cases for ValueScript are really simple.
All you have to do is write a program like this:
and save it in
inputs/passing
orinputs/failing
.Passing means the program behaves as intended, failing means it does something else.
If your program throws an exception or otherwise panics, you can't use
test_output!
, but adding these programs is still very important.If your program does run to completion, even if the output is wrong, use
test_output!
and include the incorrect output. Add a comment below that saying what the output should be instead.(By the way, exceptions shouldn't panic... they just currently do.)
The text was updated successfully, but these errors were encountered: