Skip to content

feat: add Equal method to Option[T] for value comparison#84

Merged
samber merged 1 commit intosamber:masterfrom
taman9333:add-option-equal-method
Aug 18, 2025
Merged

feat: add Equal method to Option[T] for value comparison#84
samber merged 1 commit intosamber:masterfrom
taman9333:add-option-equal-method

Conversation

@taman9333
Copy link
Contributor

Description

Adds an Equal method to Option[T] to enable comparison of Option instances

Fixes #67

@codecov
Copy link

codecov bot commented Aug 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.45%. Comparing base (1b362cd) to head (20ead60).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
+ Coverage   75.18%   75.45%   +0.27%     
==========================================
  Files          16       16              
  Lines        1463     1471       +8     
==========================================
+ Hits         1100     1110      +10     
+ Misses        340      338       -2     
  Partials       23       23              
Flag Coverage Δ
unittests 75.45% <100.00%> (+0.27%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@samber samber merged commit 5d3bc8e into samber:master Aug 18, 2025
12 checks passed
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.

Missing method Option.Equal

2 participants