Test Result
data class TestResult( val testDetailsId: String, val marksObtained: Int, val maximumMarks: Int)
Content copied to clipboard
A class that models the results of single test.
Parameters
test Details Id
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.
marks Obtained
indicates the total marks obtained by the user for the test.
maximum Marks
indicates the maximum marks that can be obtained.
Constructors
Link copied to clipboard
fun TestResult( testDetailsId: String, marksObtained: Int, maximumMarks: Int)
Content copied to clipboard