updateTest
is the function for updating the new test ID in
an examinee
object.
updateTest(examinee_object, assessment_structure)
an examinee
object.
an assessment_structure
object.
an examinee
object with its current_test
slot updated.
## assessment uses two phases
examinee <- examinee_list_math[[1]]
examinee@current_test ## T1
examinee@current_phase ## P1
examinee <- updateTest(examinee, assessment_structure_math)
examinee <- updatePhase(examinee, assessment_structure_math)
examinee@current_test ## T1
examinee@current_phase ## P2
examinee <- updateTest(examinee, assessment_structure_math)
examinee <- updatePhase(examinee, assessment_structure_math)
examinee@current_test ## T2
examinee@current_phase ## P1