< Summary

Information
Class: ValidateLib.TabularData.Datatypes.NumericDatatypes.PositiveIntegerDT
Assembly: validatelib.dll
File(s): C:\skola_karlovka\RP\code\csv-validator\CSV_Validator\ValidateLib\TabularData\Datatypes\NumericDatatypes\PositiveIntegerDT.cs
Line coverage
87%
Covered lines: 7
Uncovered lines: 1
Coverable lines: 8
Total lines: 20
Line coverage: 87.5%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBlocks covered Blocks not covered
PositiveIntegerDT()03
PositiveIntegerDT(...)40
PositiveIntegerDT(...)40

File(s)

C:\skola_karlovka\RP\code\csv-validator\CSV_Validator\ValidateLib\TabularData\Datatypes\NumericDatatypes\PositiveIntegerDT.cs

#LineLine coverage
 1using ExtendedNumerics;
 2using ValidateLib.Metadata.Descriptors;
 3
 4namespace ValidateLib.TabularData.Datatypes.NumericDatatypes
 5{
 6    public class PositiveIntegerDT : NonNegativeIntegerDT
 7    {
 18        protected override BigDecimal minValue { get; set; } = 1;
 09        public PositiveIntegerDT() { }
 110        public PositiveIntegerDT(string stringValue) : base(stringValue)
 11        {
 112            ResolvePercentPermileExponent();
 113        }
 14
 115        public PositiveIntegerDT(string stringValue, FormatDescriptor format) : base(stringValue, format)
 16        {
 117            ResolvePercentPermileExponent();
 118        }
 19    }
 20}