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 logic in CheckStartStateBounds adapter (backport #3143) #3148

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Dec 4, 2024

Description

This PR aims to fix the logic in the CheckStartStateBounds adapter, as @chama1176 pointed out.

It also adds some basic unit tests to prevent further breakages and maintain expected behavior.

Closes #2924

Checklist

  • Required by CI: Code is auto formatted using clang-format
  • Extend the tutorials / documentation reference
  • Document API changes relevant to the user in the MIGRATION.md notes
  • Create tests, which fail without this PR reference
  • Include a screenshot if changing a GUI
  • While waiting for someone to review your request, please help review another open pull request to support the maintainers

This is an automatic backport of pull request #3143 done by [Mergify](https://mergify.com).

* Fix logic in CheckStartStateBoundsAdapter

* Explicit fallthrough

* Fix switch statement and add basic test scaffolding

* Remove extra variable

* Fix logic and add tests for continuous joints

* Validate changed start state

* Appeasing our Lord and Savior clang-tidy

* Update status message

(cherry picked from commit f82cdcd)
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (jazzy@ee3f320). Learn more about missing BASE report.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff            @@
##             jazzy    #3148   +/-   ##
========================================
  Coverage         ?   45.75%           
========================================
  Files            ?      482           
  Lines            ?    40431           
  Branches         ?        0           
========================================
  Hits             ?    18495           
  Misses           ?    21936           
  Partials         ?        0           

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

@sea-bass sea-bass merged commit be68635 into jazzy Dec 4, 2024
7 checks passed
@sea-bass sea-bass deleted the mergify/bp/jazzy/pr-3143 branch December 4, 2024 16:18
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.

3 participants