Skip to content

Conversation

@Gounlaf
Copy link
Contributor

@Gounlaf Gounlaf commented Mar 1, 2024

👋

As discussed #1568 (comment), this PR make Percentage positive only (including zero).

Therefore:

  • all guards checking if percentage value is negative has been removed
  • all tests where Percentage was initialized with negative value has been removed

Regards.

@Gounlaf Gounlaf changed the title feat: make Percentage always positive feat: make Percentage only positive Mar 1, 2024
@Gounlaf Gounlaf marked this pull request as draft March 3, 2024 16:39
@Gounlaf Gounlaf force-pushed the percentage-positive-only branch from 483e875 to 472346a Compare March 7, 2024 18:35
@Gounlaf Gounlaf marked this pull request as ready for review March 7, 2024 18:45
@dlemstra dlemstra merged commit 113ddb6 into dlemstra:main Mar 8, 2024
@Gounlaf Gounlaf deleted the percentage-positive-only branch March 9, 2024 12:37
This was referenced Jul 23, 2025
This was referenced Dec 30, 2025
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.

2 participants