IATI-Schemas icon indicating copy to clipboard operation
IATI-Schemas copied to clipboard

Decimal percentage boundary check

Open VincentVW opened this issue 7 years ago • 2 comments

This checks if the all percentages are within the set boundaries (0 - 100).

2 Tests added, 26-decimal-percentage.xml was already there to check valid decimal percentages. Added 48-decimal-percentage-boundaries.xml to make sure I didn't accidentally make percentage="100" invalid. Added failed state 27-decimal-percentage-out-of-bounds.xml to invalidate percentages over a 100.

This is probably backward compatible for version 2.01 and 1.0x.

VincentVW avatar Jun 13 '17 20:06 VincentVW