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

Updates 20231222 #558

Merged
merged 5 commits into from
Dec 24, 2023
Merged

Updates 20231222 #558

merged 5 commits into from
Dec 24, 2023

Conversation

louis-langholtz
Copy link
Owner

@louis-langholtz louis-langholtz commented Dec 23, 2023

Description - What's this PR do?

  • Removes BodyConf::UseType & replaces uses with BodyConf::Use.
  • Renames some Contact interfaces.
  • Updates SetContact(AabbTreeWorld&,...) to be more restrictive about what it allows.
  • Adds OutOfRange derived class of std::out_of_range to help with diagnostics.
  • Adds more unit test code.

This work was in part motivated for my getting a better handle on how to properly/fully support serialization/deserialization per #544 .

- Renames Contact::UnsetIsSensor to Contact::UnsetSensor.
- Adds OutOfRange derived class of std::out_of_range to help identify
  what was out-of-range.
- Updates AabbTreeWorld code to use new OutOfRange as nested exception
  for std::out_of_range exceptions.
- Adds unit test code to more closely check SetContact(AabbTreeWorld&,
  ContactID, Contact) behavior.
@louis-langholtz louis-langholtz added Enhancement For suggestions or changes that enhance any part of the project and isn't a bug. Library For issues that effect the library and aren't specific to any particular application. labels Dec 23, 2023
@louis-langholtz louis-langholtz added this to the 2.0 Release milestone Dec 23, 2023
@louis-langholtz louis-langholtz self-assigned this Dec 23, 2023
@louis-langholtz louis-langholtz added this to To Do in 100% Unit Test Coverage via automation Dec 23, 2023
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@coveralls
Copy link

coveralls commented Dec 23, 2023

Coverage Status

coverage: 99.301% (+0.009%) from 99.292%
when pulling af490f3 on updates-20231222
into 47dbf47 on master.

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@louis-langholtz louis-langholtz merged commit a3d3534 into master Dec 24, 2023
19 checks passed
100% Unit Test Coverage automation moved this from To Do to Done Dec 24, 2023
@louis-langholtz louis-langholtz deleted the updates-20231222 branch December 24, 2023 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For suggestions or changes that enhance any part of the project and isn't a bug. Library For issues that effect the library and aren't specific to any particular application.
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants