-
Notifications
You must be signed in to change notification settings - Fork 15
Fix reading of "MAX", "MIN" attributes #2
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
Fix reading of "MAX", "MIN" attributes #2
Conversation
Codecov Report
@@ Coverage Diff @@
## development #2 +/- ##
============================================
Coverage 99.28% 99.28%
============================================
Files 24 24
Lines 1113 1113
============================================
Hits 1105 1105
Misses 8 8Continue to review full report at Codecov.
|
|
thanks for the contributions! agreed on adding test data later. I hope i can help with that. |
| { | ||
| this.Max = max; | ||
| } | ||
| if (double.TryParse(reader.GetAttribute("MIN"), out double min)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
styling: please add empty line after 77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
| { | ||
| this.Max = max; | ||
| } | ||
| if (int.TryParse(reader.GetAttribute("MIN"), out int min)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
styling: please add empty line after 77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
…ER" and "DATATYPE-DEFINITION-REAL"
Fix reading of "MAX", "MIN" attributes for "DATATYPE-DEFINITION-INTEGER" and "DATATYPE-DEFINITION-REAL"
I plan to add tests later in another PR. Sorry, but I do not have any free time at this moment.