Struct LineCoverage
The representation of a line from the .lst file
struct LineCoverage
;
Constructors
Name | Description |
---|---|
this
(line)
|
Fields
Name | Type | Description |
---|---|---|
code
|
string | |
hasCode
|
bool | |
hits
|
ulong |
Example
It should parse an empty line
auto lineCoverage = LineCoverage(` |`);
lineCoverage .code .should .equal("");
lineCoverage .hits .should .equal(0);
lineCoverage .hasCode .should .equal(false);