Skip to content

fix: trim rock paper scissors input - #115

Open
vycdev2 wants to merge 1 commit into
vycdev:developfrom
vycdev2:fix/normalize-rps-choice-case
Open

fix: trim rock paper scissors input#115
vycdev2 wants to merge 1 commit into
vycdev:developfrom
vycdev2:fix/normalize-rps-choice-case

Conversation

@vycdev2

@vycdev2 vycdev2 commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Trim surrounding whitespace before the existing invariant case normalization for Rock Paper Scissors choices.
  • Extend the existing regression coverage with padded mixed-case input.

Verification

  • dotnet restore Morpheus.sln — passed (existing NU1903 warning).
  • dotnet build Morpheus.sln --no-restore — passed with 0 errors.
  • dotnet test Morpheus.Tests/Morpheus.Tests.csproj --no-build --filter FullyQualifiedName~NormalizeRockPaperScissorsChoice — passed (3/3).
  • dotnet test Morpheus.sln --no-build — 297 passed; 2 unchanged tr-TR tests failed because this runner uses globalization-invariant mode.
  • git diff --check — passed.

Risk

  • Low: valid choices retain existing behavior; only surrounding whitespace is newly accepted.

This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.

@vycdev2
vycdev2 force-pushed the fix/normalize-rps-choice-case branch from 11d2b9c to ecca81c Compare August 9, 2026 21:43
@vycdev2 vycdev2 changed the title fix: normalize rock paper scissors input fix: trim rock paper scissors input Aug 9, 2026
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.

1 participant