TESTed: failed tests with functions #5401
-
Hi, Please check https://dodona.be/nl/activities/638195380/
What am I doing wrong this time... Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think the blame lies 100% with TESTed this time. There are two factors here:
So, I think there are two choices at the moment:
So either this: - expression: "and_poort(0, 0)"
return: 0 Or this: - expression:
python: "submission.AND_poort(0, 0)"
return: 0 Thanks again for using TESTed, it helps us a lot by seeing other people's perspectives on using TESTed. |
Beta Was this translation helpful? Give feedback.
I think the blame lies 100% with TESTed this time.
There are two factors here:
AND_poort
is converted toANDPoort
, which doesn't exist in the submission. We want to support an override for this behaviour in the future, but are not there yet (dodona-edu/universal-judge#326)python: "blabla"
), you need to manually put the submission module in the string (see dodona-edu/universal-judge#423). So it should bepython: "submission.AND_poort(1, 1)"
. However, this will then also be shown on Dodona, so…