class GradeReport
extends Object
tests
and a summary of the assessment
results.Modifier and Type | Field and Description |
---|---|
(package private) int |
numCorrect |
(package private) int |
numTotal |
(package private) double |
percentCorrect |
(package private) double |
pointsEarned |
(package private) double |
pointsMax |
(package private) List<Test> |
tests |
Constructor and Description |
---|
GradeReport() |
Modifier and Type | Method and Description |
---|---|
void |
assessTests()
Assesses all the test cases, tallying the points earned.
|
String |
expectedOutput()
Builds and returns a string representing to be used by clients to store the expected
results text file.
|
String |
toString()
Returns a summary of each test case and an overall summary.
|
double pointsMax
double pointsEarned
double percentCorrect
int numCorrect
int numTotal
List<Test> tests
public void assessTests()
public String expectedOutput()
public String toString()
toString
in class Object