TestResult

fun TestResult(    testDetailsId: String,     marksObtained: Int,     maximumMarks: Int)

Parameters

testDetailsId

the id of the TestDetails object that this instance is associated with. In other words, it indicates the test that the marks are associated to.

marksObtained

indicates the total marks obtained by the user for the test.

maximumMarks

indicates the maximum marks that can be obtained.