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

Fixed negative number base converter #213

Merged
merged 3 commits into from
Jan 24, 2022
Merged

Fixed negative number base converter #213

merged 3 commits into from
Jan 24, 2022

Conversation

btiteux
Copy link
Collaborator

@btiteux btiteux commented Jan 23, 2022

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Internationalization and localization
  • Other (please describe):

What is the current behavior?

If a user convert a negative number the converter fail.

Issue Number: #185

What is the new behavior?

  • The user can convert a negative number

Other information

Current version

image

New version

image

Quality check

Before creating this PR, have you:

  • Followed the code style guideline as described in CONTRIBUTING.md
  • Verified that the change work in Release build configuration
  • Checked all unit tests pass

@veler
Copy link
Collaborator

veler commented Jan 24, 2022

Looks great !

@veler veler merged commit e0fb66e into main Jan 24, 2022
@veler veler deleted the bug/negative-number-base branch January 24, 2022 00:57
@veler veler linked an issue Jan 24, 2022 that may be closed by this pull request
veler pushed a commit that referenced this pull request Mar 31, 2023
* Bug fixes in base number converter to handle negative number and add unit tests for negative number in each base.

* uncomment unit test
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.

negative number base conversation
2 participants