Struct LineCoverage

The representation of a line from the .lst file

struct LineCoverage ;

Constructors

NameDescription
this (line)

Fields

NameTypeDescription
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);