TESTed: Can't get evaluation right for an exercise with output>input>output #5397
-
Hi, Please see exercise https://dodona.be/nl/activities/1160199994/ Thanks for looking into it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
We don't support duplicate attributes, so your second stdout will overwrite the first. You can get this exercise to work, by putting all stdout togheter: - stdout: |
****************************************
* hexadecimaal <-> decimaal convertor *
****************************************
* Kies 1 voor hexadecimaal -> decimaal *
* Kies 2 voor decimaal -> Hexadecimaal *
****************************************
De decimale waarde is 15. This is with the big caveat that this won't actually test the order of stdout -> stdin -> stdout. Students could thus ask for input first, and then print the all stdout in one go, and it would pass this test. TESTed currently has no way of knowing the relative order in which stdout/stdin are used. We run the submission, provide it with all stdin at the start and collect all stdout at the end. Unfortunately, I don't immediately see a solution or workaround. |
Beta Was this translation helpful? Give feedback.
We don't support duplicate attributes, so your second stdout will overwrite the first. You can get this exercise to work, by putting all stdout togheter:
This is with the big caveat that this won't actually test the order of stdout -> stdin -> stdout. Students could thus ask for input first, and then print the all stdout in one…