Skip to content

Commit

Permalink
updating tests for Reverse-String exercise (#1037)
Browse files Browse the repository at this point in the history
* updating tests for Reverse-String exercise

* Adding new tests to main function

* Commenting out failing tests

* Fixing formatting issues

* Fixing formatting issues, hopefully

* Fixing formatting issues

* Fixing formatting issues with clang-format

* Disebling test functions

* Update exercises/practice/reverse-string/.meta/tests.toml

Co-authored-by: wolf99 <[email protected]>

* Update exercises/practice/reverse-string/.meta/tests.toml

Co-authored-by: wolf99 <[email protected]>

* Update exercises/practice/reverse-string/.meta/tests.toml

Co-authored-by: wolf99 <[email protected]>

* Update exercises/practice/reverse-string/test_reverse_string.c

Co-authored-by: wolf99 <[email protected]>

* Going behind the commit causing check issue

---------

Co-authored-by: wolf99 <[email protected]>
  • Loading branch information
jagdish-15 and wolf99 authored Jan 26, 2025
1 parent 01ba11b commit 36faa27
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
4 changes: 4 additions & 0 deletions exercises/practice/reverse-string/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
"authors": [
"keiravillekode"
],
"contributors": [
"jagdish-15",
"wolf99"
],
"files": {
"solution": [
"reverse_string.c",
Expand Down
28 changes: 25 additions & 3 deletions exercises/practice/reverse-string/.meta/tests.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# This is an auto-generated file. Regular comments will be removed when this
# file is regenerated. Regenerating will not touch any manually added keys,
# so comments can be added in a "comment" key.
# This is an auto-generated file.
#
# Regenerating this file via `configlet sync` will:
# - Recreate every `description` key/value pair
# - Recreate every `reimplements` key/value pair, where they exist in problem-specifications
# - Remove any `include = true` key/value pair (an omitted `include` key implies inclusion)
# - Preserve any other key/value pair
#
# As user-added comments (using the # character) will be removed when this file
# is regenerated, comments can be added via a `comment` key.

[c3b7d806-dced-49ee-8543-933fd1719b1c]
description = "an empty string"
Expand All @@ -19,3 +26,18 @@ description = "a palindrome"

[b9e7dec1-c6df-40bd-9fa3-cd7ded010c4c]
description = "an even-sized word"

[1bed0f8a-13b0-4bd3-9d59-3d0593326fa2]
description = "wide characters"
include = false
comment = "track decision to only handle ASCII strings for this exercise"

[93d7e1b8-f60f-4f3c-9559-4056e10d2ead]
description = "grapheme cluster with pre-combined form"
include = false
comment = "track decision to only handle ASCII strings for this exercise"

[1028b2c1-6763-4459-8540-2da47ca512d9]
description = "grapheme clusters"
include = false
comment = "track decision to only handle ASCII strings for this exercise"

0 comments on commit 36faa27

Please sign in to comment.