While working through the recovery for hw4, I stumbled upon what I presume to be an issue with the final 3 tests which test the method print_exam_record. Below is the description as written in the text.
- print_exam_record(exam_code, fileout, dbsize), which receives an
exam_code of an exam and saves in fileout the information about that
exam, using the following formula
"The student <stud_surname> <stud_name>, student number <stud_code>, took on <date> the <course_name> exam with the teacher <teach_surname> <teach_name> with grade <grade>."
The function returns the exam grade associated with the exam_code
received as input.
The expected results from the downloaded text files:
The student Maximilian Piatti, student number 1273288, took on 2020/06/12 the Metodi Di Progetto Per L'Ingegneria Industriale Lm exam with the teacher Matilde Menconi with grade 18.
The json files from which values are extracted:
{
"teach_code": "000",
"teach_name": "Matilde",
"teach_surname": "Menconi",
"teach_email": "menconi@small.it"
},
The surname and name are changed in the expected result. The same happens in the 3 other tests. Should we amend the expected result or should the tests be amended?
Thank you :))