Skip to content

feat: provide additional assertions for integers and floats#17

Merged
haraldmaida merged 2 commits into
mainfrom
feat/provide-additional-assertions-for-numbers
Apr 20, 2025
Merged

feat: provide additional assertions for integers and floats#17
haraldmaida merged 2 commits into
mainfrom
feat/provide-additional-assertions-for-numbers

Conversation

@haraldmaida
Copy link
Copy Markdown
Member

Added assertions for integer and floats:

is_negative, is_not_negative, is_positive, is_not_positive, is_zero, is_one

Added assertions for floats:

is_infinite, is_finite, is_not_a_number, is_a_number

@haraldmaida haraldmaida added the enhancement New feature or request label Apr 20, 2025
@haraldmaida haraldmaida self-assigned this Apr 20, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.15%. Comparing base (c75cc7e) to head (deb01ca).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   93.62%   94.15%   +0.53%     
==========================================
  Files          22       24       +2     
  Lines        2038     2224     +186     
  Branches     2038     2224     +186     
==========================================
+ Hits         1908     2094     +186     
  Misses        124      124              
  Partials        6        6              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@haraldmaida haraldmaida merged commit f7a1da2 into main Apr 20, 2025
18 checks passed
@haraldmaida haraldmaida deleted the feat/provide-additional-assertions-for-numbers branch April 20, 2025 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant