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

Fix PointInTime::equals() and ::aheadOf() #15

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Conversation

Baptouuuu
Copy link
Member

By adding proofs on these 2 methods it revealed it wasn't behaving correctly for all points in time.

It also showed that ::aheadOf() should also handle high resolution time.

@Baptouuuu Baptouuuu added the bug label Nov 28, 2024
@Baptouuuu Baptouuuu self-assigned this Nov 28, 2024
Copy link

codecov bot commented Nov 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.91%. Comparing base (6c678f6) to head (45ba4a6).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop      #15   +/-   ##
==========================================
  Coverage      99.91%   99.91%           
- Complexity       703      706    +3     
==========================================
  Files             55       56    +1     
  Lines           2416     2495   +79     
==========================================
+ Hits            2414     2493   +79     
  Misses             2        2           

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

@Baptouuuu Baptouuuu merged commit 339a278 into develop Nov 28, 2024
15 checks passed
@Baptouuuu Baptouuuu deleted the fix-pit-comparisons branch November 28, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant