Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added tests of decimalSigned to show that it fails in a few cases. #1376

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

mbeckerle
Copy link
Contributor

Note: This PR has 2 commits. The first one is for a separate feature (with separate PR) that I'm depending on in this PR. Please ignore that first commit and review the 2 files of changes in the 2nd commit.


Tests show that parse of negative representations (from packed decimal reps) does not detect the error when decimalSigned="no".

Test also show that unparse of negative values into binary, packed, and bcd all are broken.

This doesn't fix the issue. Just adds tests to illustrate the failing cases.

DAFFODIL-2957

Copy link
Contributor

@olabusayoT olabusayoT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Questions about incorrect actual results?

Tests show that parse of negative representations (from packed decimal reps) does not detect the error when decimalSigned="no".

Test aalso show that unparse of negative values into binary, packed, and bcd all are broken.

This doesn't fix the issue. Just adds tests to illustrate the
failing cases.

DAFFODIL-2957
Copy link
Contributor

@jadams-tresys jadams-tresys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Contributor

@olabusayoT olabusayoT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@mbeckerle mbeckerle merged commit 861df2a into apache:main Nov 21, 2024
12 checks passed
@mbeckerle mbeckerle deleted the daf-2957 branch November 21, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants