Struct ProtoCoverageTotals

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

Coverage units counted across a set of report items: covered, uncovered and the rounded percentage.

public readonly record struct ProtoCoverageTotals : IEquatable<ProtoCoverageTotals>
Implements
Inherited Members
Extension Methods

Constructors

ProtoCoverageTotals(int, int)

Coverage units counted across a set of report items: covered, uncovered and the rounded percentage.

public ProtoCoverageTotals(int Total, int Covered)

Parameters

Total int
Covered int

Properties

Covered

public int Covered { get; init; }

Property Value

int

Percentage

The covered share, rounded to two decimals as the report summary prints it.

public double Percentage { get; }

Property Value

double

Ratio

public double Ratio { get; }

Property Value

double

Total

public int Total { get; init; }

Property Value

int

Uncovered

public int Uncovered { get; }

Property Value

int