Constructor
new DiffTestResult(caseName, algorithm, runtime, actualnullable, verdict)
Construct a new DiffTestResult instance.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
caseName |
String | The name of the corresponding diff test case. | |
algorithm |
String | The name of the algorithm that produced the diff. | |
runtime |
Number | The time (in ms) it took to produced the result. Null indicates failure. | |
actual |
ActualDiff |
<nullable> |
The actual diff produced by the algorithm. Null indicates failure. |
verdict |
String | The verdict for this diff result. |
- Source:
Classes
Members
(constant, nullable) runtime :Number
The time (in ms) it took to produced the result. Null indicates failure.
Type:
- Number
- Source:
Methods
(static) header() → {Array.<String>}
- Source:
Returns:
The header row for a list of diff test results to
use in tables.
- Type
- Array.<String>
values() → {Array.<String>}
- Source:
Returns:
The row of values of this result for use in tables.
- Type
- Array.<String>