exercism / exercism/cpp

🚨 configlet sync --test found unsynced tests

Open
#1,000 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
291
Forks
244
PR merge metrics
No merged PRs in 30d

Description

```
Checking exercises...
[warn] crypto-square: missing 1 test case
- 54 character plaintext results in 8 chunks, the last two with trailing spaces (33fd914e-fa44-445b-8f38-ff8fbc9fe6e6)
[warn] flower-field: missing 1 test case
- multiple adjacent flowers (6e4ac13a-3e43-4728-a2e3-3551d4b1a996)
[warn] grade-school: missing 16 test cases
- Add a student (9337267f-7793-4b90-9b4a-8e3978408824)
- Adding multiple students in the same grade in the roster (73c3ca75-0c16-40d7-82f5-ed8fe17a8e4a)
- Cannot add student to same grade in the roster more than once (87c871c1-6bde-4413-9c44-73d59a259d83)
- A student can't be in two different grades (c125dab7-2a53-492f-a99a-56ad511940d8)
- A student can only be added to the same grade in the roster once (a0c7b9b8-0e89-47f8-8b4a-c50f885e79d1)
- Student not added to same grade in the roster more than once (d7982c4f-1602-49f6-a651-620f2614243a)
- Adding students in multiple grades (e70d5d8f-43a9-41fd-94a4-1ea0fa338056)
- Cannot add same student to multiple grades in the roster (7df542f1-57ce-433c-b249-ff77028ec479)
- A student cannot be added to more than one grade in the sorted roster (6a03b61e-1211-4783-a3cc-fc7f773fba3f)
- Student not added to multiple grades in the roster (c7ec1c5e-9ab7-4d3b-be5c-29f2f7a237c5)
- Students are sorted by grades in the roster (d9af4f19-1ba1-48e7-94d0-dabda4e5aba6)
- Students are sorted by name in the roster (d9fb5bea-f5aa-4524-9d61-c158d8906807)
- Grade is empty if no students in that grade (1e0cf06b-26e0-4526-af2d-a2e2df6a51d6)
- Student not added to same grade more than once (2bfc697c-adf2-4b65-8d0f-c46e085f796e)
- Student not added to multiple grades (66c8e141-68ab-4a04-a15a-c28bc07fe6b9)
- Student not added to other grade for multiple grades (c9c1fc2f-42e0-4d2c-b361-99271f03eda7)
[warn] isbn-verifier: missing 2 test cases
- only one check digit is allowed (8005b57f-f194-44ee-88d2-a77ac4142591)
- X is not substituted by the value 10 (fdb14c99-4cf8-43c5-b06d-eb1638eff343)
[warn] largest-series-product: missing 2 test cases
- rejects span longer than string length (0ae1ce53-d9ba-41bb-827f-2fceb64f058b)
- rejects empty string and nonzero span (6cf66098-a6af-4223-aab1-26aeeefc7402)
[warn] perfect-numbers: missing 1 test case
- Abundant numbers -> Perfect square abundant number is classified correctly (05f15b93-849c-45e9-9c7d-1ea131ef7d10)
[warn] protein-translation: missing 4 test cases
- Non-existing codon can't translate (1e75ea2a-f907-4994-ae5c-118632a1cb0f)
- Unknown amino acids, not part of a codon, can't translate (9eac93f3-627a-4c90-8653-6d0a0595bc6f)
- Incomplete RNA sequence can't translate (9d73899f-e68e-4291-b1e2-7bf87c00f024)
- Incomplete RNA sequence can translate if valid until a STOP codon (43945cf7-9968-402d-ab9f-b8a28750b050)
[warn] reverse-string: missing 3 test cases
- wide characters (1bed0f8a-13b0-4bd3-9d59-3d0593326fa2)
- grapheme cluster with pre-combined form (93d7e1b8-f60f-4f3c-9559-4056e10d2ead)
- grapheme clusters (1028b2c1-6763-4459-8540-2da47ca512d9)
[warn] simple-linked-list: missing 29 test cases
- count -> Empty list has length of zero (962d998c-c203-41e2-8fbd-85a7b98b79b9)
- count -> Singleton list has length of one (9760262e-d7e4-4639-9840-87e2e2fbb115)
- count -> Non-empty list has correct length (d9955c90-637c-441b-b41d-8cfb48e924a8)
- pop -> Pop from empty list is an error (0c3966db-58f9-4632-b94c-8ea13e54c2c8)
- pop -> Can pop from singleton list (a4f9d2e1-7425-49ef-9ee8-6c0cb3407cf0)
- pop -> Can pop from non-empty list (6dcbb2c9-d98a-47bc-a010-9c19703d3ea2)
- pop -> Can pop multiple items (e83aade9-f030-4096-aaf0-f9dc6491e6cf)
- pop -> Pop updates the count (5c46bcf2-c0a9-4654-ae17-f3192436fcf1)
- push -> Can push to an empty list (70d747a1-2e84-4ebc-bc3f-dcbee6a05f6b)
- push -> Can push to an empty list (f3197f0a-1fea-45a5-939f-4a5ea60387ec)
- push -> Can push to a non-empty list (391e332e-1f91-4033-b1e0-0e0c17812fa7)
- push -> Push updates count (ed4b0e01-3bbd-4895-af25-152b5914b3da)
- push -> Push and pop (41666790-b932-4e5a-b323-e848a83d12d5)
- peek -> Peek on empty list is an error (930a4a5c-76f6-47ec-9be3-4e70993173a1)
- peek -> Can peek on singleton list (43255a50-d919-4e81-afce-e4a271eaedbd)
- peek -> Can peek on non-empty list (48353020-e25d-4621-a854-e35fb1e15fa7)
- peek -> Peek does not change the count (96fcead9-a713-46c2-8005-3f246c873851)
- peek -> Can peek after a pop and push (7576ed05-7ff7-4b84-8efb-d34d62c110f5)
- toList LIFO -> Empty linked list to list is empty (b97d00b6-2fab-435d-ae74-3233dcc13698)
- toList LIFO -> To list with multiple values (eedeb95f-b5cf-431d-8ad6-5854ba6b251c)
- toList LIFO -> To list after a pop (838678de-eaf3-4c14-b34e-7e35b6d851e8)
- toList FIFO -> Empty linked list to list is empty (03fc83a5-48a8-470b-a2d2-a286c5e8365f)
- toList FIFO -> To list with multiple values (1282484e-a58c-426a-972e-90746bda61fc)
- toList FIFO -> To list after a pop (05ca3109-1249-4c0c-a567-a3b2f8352a7c)
- reverse -> Reversed empty list has same values (5e6c1a3d-e34b-46d3-be59-3f132a820ed5)
- reverse -> Reversed singleton list is same list (93c87ed3-862a-474f-820b-ba3fd6b6daf6)
- reverse -> Reversed non-empty list is reversed (92851ebe-9f52-4406-b92e-0718c441a2ab)
- reverse -> Reversed non-empty list is reversed (1210eeda-b23f-4790-930c-7ac6d0c8e723)
- reverse -> Double reverse (9b53af96-7494-4cfa-9b77-b7366fed5c4c)
[warn] two-bucket: missing 2 test cases
- Measure using bucket one much bigger than bucket two (58d70152-bf2b-46bb-ad54-be58ebe94c03)
- Measure using bucket one much smaller than bucket two (9dbe6499-caa5-4a58-b5ce-c988d71b8981)
[warn] some exercises are missing test cases
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Run `configlet sync --test` and use its output to inspect the missing test cases for crypto-square, flower-field, grade-school, isbn-verifier, largest-series-product, perfect-numbers, protein-translation, reverse-string, simple-linked-list, and two-bucket. Done means the listed cases are synchronized and the command no longer reports missing test cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.