tests: update crypto-square exercise (#775) #991
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR updates the crypto-square exercise test cases to sync with the latest problem-specifications, contributing to issue #775 for updating test cases across exercises.
Changes Made
fbcb0c6d-4c39-4a31-83f6-c473baa6af80to33fd914e-fa44-445b-8f38-ff8fbc9fe6e6Files Modified
exercises/practice/crypto-square/.meta/tests.tomlexercises/practice/crypto-square/crypto_square_test.cppScreenshots
Before Changes
After Changes
Test Execution
Code Changes
Testing Instructions
To verify these changes work correctly:
Expected Test Output
Verification
✅ All 8 test cases pass
✅ New test case properly validates 54-character plaintext
✅ Configlet sync confirms no missing test cases for crypto-square
✅ Exercise maintains backward compatibility
Configlet Verification
Technical Details
configlet sync --tests include --update --yes -e crypto-squareto automatically sync test casesinclude = falsein tests.tomlreimplementsreference to show it replaces the old oneFile Diffs
Progress on Issue #775
This completes crypto-square exercise updates. Remaining exercises with missing test cases:
Fixes #775 (partial - crypto-square exercise)