Evaluates the activity (that must be constructed as assignment in the iVProg) taking into account the cases of tests defined by the teacher.
This process is based on test-case. Each test-case is a pair of inputs and outputs.
When the learner/user "click" on the evaluation button it is initiated the code interpretation:
when the first command to enter data (input) is found, it is used the data on the first input (inside the first test-case);
when the second input command (if it exists) is found, the same is done, and so on with all input command;
whe the first command to print any data is found (print), it is compared with the first output (inside the first test-case),
if they are equal, one point is registered;
when the second print command (if it exists) is found, the same is done, and so on with all output command.
At the end, the assignment grade is total of point gained divided by the total number of outputs (in the test-case).