TestResult

data class TestResult(    val testDetailsId: String,     val marksObtained: Int,     val maximumMarks: Int)

A class that models the results of single test.

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.

Constructors

Link copied to clipboard
fun TestResult(    testDetailsId: String,     marksObtained: Int,     maximumMarks: Int)

Properties

Link copied to clipboard
val marksObtained: Int
Link copied to clipboard
val maximumMarks: Int
Link copied to clipboard
val testDetailsId: String