feat(v0.3.0): add PoseRenderer and refresh family dependency lockstep#22
Conversation
Adds MathAssertions.Render.PoseRenderer, a pure static renderer that turns a 3D pose (Vector3 position and / or Quaternion orientation) into deterministic, snapshot-friendly text. Render(Vector3, Quaternion, double) emits a two-line pos/quat block; the position-only and orientation-only overloads emit one line. It is the first concrete renderer under the family-shared *.Render namespace convention, self-contained with no SnapshotAssertions dependency, and renders the quaternion sign verbatim so a sign flip surfaces as a snapshot diff. Also brings the dependency pins back into lockstep with the rest of the assertion family: - DotNetProjectFile.Analyzers 1.13.1 -> 1.14.0 - Meziantou.Analyzer 3.0.78 -> 3.0.84 - Microsoft.SourceLink.GitHub 10.0.203 -> 10.0.300 Tests: PoseRendererTests pins the output contract in the framework-agnostic core suite; PoseRendererCoverageExercise is the with-coverage main-suite touchpoint (the renderer lives in the core assembly, which the CI coverage gate instruments only via that suite); PoseRendererSnapshotTests is the end-to-end MatchesSnapshot() pairing test against a committed baseline. Line coverage 99.22%, branch 98.90%. No breaking changes; the public surface grows by one additive namespace. Both packages bump to 0.3.0; ApiCompat strict-mode baseline advances to 0.2.0.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (22)
📝 WalkthroughWalkthroughThis PR introduces ChangesPoseRenderer v0.3.0 Release
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary
Adds
MathAssertions.Render.PoseRenderer, the first concrete renderer under the family-shared*.Rendernamespace convention. It turns a 3D pose (Vector3position and / orQuaternionorientation) into deterministic, snapshot-friendly text, self-contained with noSnapshotAssertionsdependency, rendering the quaternion sign verbatim so a sign flip surfaces as a snapshot diff. Also refreshes the dependency pins back into lockstep with the rest of the assertion family. Both packages bump to 0.3.0; the public surface grows by one additive namespace.Type of change
Checklist
dotnet buildpasses with zero warnings (TreatWarningsAsErrors=true)dotnet testpasses## [0.3.0], per the release flow)Related issues
None.
Summary by CodeRabbit
New Features
PoseRendererfor deterministic, snapshot-friendly rendering of position and orientation poses with fixed-point formatting.Documentation
Tests
Chores