Esempi
Randomize the Apollo 11 crew for a presentation
Use the three crew names as whole items; this is a constructed presentation order.
Input
Neil Armstrong
Buzz Aldrin
Michael CollinsExpected checks
Same items, including duplicates; any order:
"Neil Armstrong"
"Buzz Aldrin"
"Michael Collins"- Delimitatore
Line feed
Shuffle eight planet names separated by commas
Input
Mercury,Venus,Earth,Mars,Jupiter,Saturn,Uranus,NeptuneExpected checks
Same items, including duplicates; any order:
"Mercury"
"Venus"
"Earth"
"Mars"
"Jupiter"
"Saturn"
"Uranus"
"Neptune"- Delimitatore
Comma
Keep repeated playlist entries and deliberate empty slots
Input
ambient
ambient
jazz
Expected checks
Same items, including duplicates; any order:
"ambient"
""
"ambient"
"jazz"
""- Delimitatore
Line feed
Reorder a Windows line list without changing its separators
Input
4e4a7ed993a2eabf935bc3b0.bin
17 bytes
ScaricaExpected checks
Same items, including duplicates; any order:
"Brno"
"Kyoto"
"Lima"- Delimitatore
CRLF
Keep astronaut emoji and a combining accent intact
Input
👩🚀👨🚀🇯🇵é🌕Expected checks
Same items, including duplicates; any order:
"👩🚀"
"👨🚀"
"🇯🇵"
"é"
"🌕"- Delimitatore
Unicode grapheme clusters
Keep a single indivisible item unchanged
Input
TRAPPIST-1 eExpected checks
Same items, including duplicates; any order:
"TRAPPIST-1 e"- Delimitatore
Line feed
Return an empty list for empty input
Input
Expected checks
Same items, including duplicates; any order:
- Delimitatore
Line feed