File tree Expand file tree Collapse file tree 2 files changed +31
-3
lines changed
exercises/practice/reverse-string Expand file tree Collapse file tree 2 files changed +31
-3
lines changed Original file line number Diff line number Diff line change 1- # This is an auto-generated file. Regular comments will be removed when this
2- # file is regenerated. Regenerating will not touch any manually added keys,
3- # so comments can be added in a "comment" key.
1+ # This is an auto-generated file.
2+ #
3+ # Regenerating this file via `configlet sync` will:
4+ # - Recreate every `description` key/value pair
5+ # - Recreate every `reimplements` key/value pair, where they exist in problem-specifications
6+ # - Remove any `include = true` key/value pair (an omitted `include` key implies inclusion)
7+ # - Preserve any other key/value pair
8+ #
9+ # As user-added comments (using the # character) will be removed when this file
10+ # is regenerated, comments can be added via a `comment` key.
411
512[c3b7d806-dced-49ee-8543-933fd1719b1c ]
613description = " an empty string"
@@ -19,3 +26,12 @@ description = "a palindrome"
1926
2027[b9e7dec1-c6df-40bd-9fa3-cd7ded010c4c ]
2128description = " an even-sized word"
29+
30+ [1bed0f8a-13b0-4bd3-9d59-3d0593326fa2 ]
31+ description = " wide characters"
32+
33+ [93d7e1b8-f60f-4f3c-9559-4056e10d2ead ]
34+ description = " grapheme cluster with pre-combined form"
35+
36+ [1028b2c1-6763-4459-8540-2da47ca512d9 ]
37+ description = " grapheme clusters"
Original file line number Diff line number Diff line change @@ -29,3 +29,15 @@ let ``A palindrome`` () =
2929let ``An even - sized word`` () =
3030 reverse " drawer" |> should equal " reward"
3131
32+ [<Fact( Skip = " Remove this Skip property to run this test" ) >]
33+ let ``Wide characters`` () =
34+ reverse " 子猫" |> should equal " 猫子"
35+
36+ [<Fact( Skip = " Remove this Skip property to run this test" ) >]
37+ let ``Grapheme cluster with pre - combined form`` () =
38+ reverse " Würstchenstand" |> should equal " dnatsnehctsrüW"
39+
40+ [<Fact( Skip = " Remove this Skip property to run this test" ) >]
41+ let ``Grapheme clusters`` () =
42+ reverse " ผู้เขียนโปรแกรม" |> should equal " มรกแรปโนยขีเผู้"
43+
You can’t perform that action at this time.
0 commit comments