-
Notifications
You must be signed in to change notification settings - Fork 46
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
core: add a new updateMap() function to DistanceRangeMap #9659
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #9659 +/- ##
==========================================
- Coverage 38.21% 38.16% -0.06%
==========================================
Files 995 996 +1
Lines 91912 92033 +121
Branches 1193 1192 -1
==========================================
- Hits 35128 35127 -1
- Misses 56329 56450 +121
- Partials 455 456 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
1cd8430
to
4a69838
Compare
core/kt-osrd-utils/src/main/kotlin/fr/sncf/osrd/utils/DistanceRangeMap.kt
Outdated
Show resolved
Hide resolved
core/src/test/kotlin/fr/sncf/osrd/utils/DistanceRangeMapImplTest.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job, gets the work done :)
core/src/test/kotlin/fr/sncf/osrd/utils/DistanceRangeMapImplTest.kt
Outdated
Show resolved
Hide resolved
core/src/test/kotlin/fr/sncf/osrd/utils/DistanceRangeMapImplTest.kt
Outdated
Show resolved
Hide resolved
The old own is now called updateMapIntersection(). The new one inserts the non overlapping ranges without modification. Signed-off-by: Younes Khoudli <[email protected]>
4a69838
to
25026ac
Compare
The old one is now called updateMapIntersection(). The new one inserts the non overlapping ranges without modification.