Skip to content

test for out of bounds long long - #807

Merged
phlptp merged 4 commits into
CLIUtils:mainfrom
phlptp:out_of_bounds_longlong
Nov 30, 2022
Merged

phlptp merged 4 commits into
CLIUtils:mainfrom
phlptp:out_of_bounds_longlong

Conversation

@phlptp

@phlptp phlptp commented Nov 27, 2022

Copy link
Copy Markdown
Collaborator

Resolve Issue #801 and add a test based on discussion #806

Added ERANGE clear and check for unsigned and signed integer and added a check for - as the first value of the string for unsigned integers(this only mattered for uint64_t for 32 bit or smaller unsigned the existing check worked fine.

@codecov

codecov Bot commented Nov 27, 2022 •

Copy link
Copy Markdown

Codecov Report

Base: 99.42% // Head: 99.42% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (7f7cee6) compared to base (b16c8c8).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #807   +/-   ##
=======================================
  Coverage   99.42%   99.42%           
=======================================
  Files          16       16           
  Lines        3977     3983    +6     
=======================================
+ Hits         3954     3960    +6     
  Misses         23       23           
Impacted Files Coverage Δ
include/CLI/TypeTools.hpp 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@phlptp
phlptp force-pushed the out_of_bounds_longlong branch from dd5aa70 to 6d7cd2e Compare November 28, 2022 00:59
@phlptp
phlptp merged commit ca9a128 into CLIUtils:main Nov 30, 2022
@phlptp
phlptp deleted the out_of_bounds_longlong branch November 30, 2022 23:41
@github-actions github-actions Bot added needs changelog Hasn't been added to the changelog yet needs README Needs to be mentioned in the README labels Nov 30, 2022
@henryiii henryiii removed the needs README Needs to be mentioned in the README label Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs changelog Hasn't been added to the changelog yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants