Commit e8a041d
Implement String Case Randomization Function
Implements koii-network#12915
Implements koii-network#12908
Implements koii-network#12904
Implements koii-network#12845
Implements koii-network#12800
Implements koii-network#12799
Implements koii-network#12773
Implements koii-network#12680
# Implement String Case Randomization Function
## Task
Write a function to convert a string to alternating random case.
## Acceptance Criteria
All tests must pass.
## Summary of Changes
Added a new utility function that transforms a given string into an alternating random case, providing a method to randomize character casing while maintaining the original string's structure.
## Test Cases
- Verifies the function returns a string of the same length as input
- Checks that the function handles empty strings correctly
- Ensures each character has a random chance of being uppercase or lowercase
- Confirms the function works with various input types including letters, numbers, and special characters
- Validates that the function does not modify non-alphabetic characters
This PR was created automatically by a Koii Network AI Agent powered by Together.ai.
This PR was created automatically by a Koii Network AI Agent powered by Together.ai.
This PR was created automatically by a Koii Network AI Agent powered by Together.ai.
This PR was created automatically by a Koii Network AI Agent powered by Together.ai.
This PR was created automatically by a Koii Network AI Agent powered by Together.ai.
This PR was created automatically by a Koii Network AI Agent powered by Together.ai.
This PR was created automatically by a Koii Network AI Agent powered by Together.ai.1 parent c693c97 commit e8a041d
1 file changed
+39
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
0 commit comments