Skip to content

Commit

Permalink
Added positive test case for large packed int
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Adams committed Jan 9, 2025
1 parent d9fdb3b commit cd067be
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1036,4 +1036,18 @@
</tdml:errors>
</tdml:parserTestCase>

<tdml:parserTestCase name="packedIntMax" root="int01" model="packedDecimalRangeChecks"
description="Using BCD formatted hex to indicate INT_MAX + 1">

<tdml:document>
<tdml:documentPart type="byte">02147483647C</tdml:documentPart>
</tdml:document>

<tdml:infoset>
<tdml:dfdlInfoset>
<int01>214783647</int01>
</tdml:dfdlInfoset>
</tdml:infoset>
</tdml:parserTestCase>

</tdml:testSuite>

0 comments on commit cd067be

Please sign in to comment.