Dear All,
I've recently started using moodle at our Univeristy, porting the C++ code exercises to VPL. I'm successfully evaluating students' programs with test cases in vpl_evaluate.cases file. However these evaluations are based on the output of the program, and my test cases are already constructed in the way, that relies on the return value. So for example I have a test like this:
int main() {
if (4 == sum(2,2)) {
return 0;
} else {
return 1;
}
}
My question is - how can I make VPL to evaluate the return code of the program ?