exercism / batch

Exercism exercises in Batch Script.
https://exercism.org/tracks/batch
MIT License
2 stars 3 forks source link

Update tests.toml files #57

Closed BNAndras closed 2 weeks ago

BNAndras commented 2 weeks ago

All of the tests.toml files are taken from the hello-world exercise so configlet sync brings up a lot of false positives for missing tests. I went through and updated these toml files to the best of my ability to reflect the current test suite. I removed from the toml file any tests that weren't implemented. Any tests that were in the test suite but noted as not possible in Batch are marked with include = false.

That leaves these tests that need to be added or marked include = false in the corresponding toml file after the toml file is synced again.

PS C:\Users\andras\Documents\exercism-batch> configlet sync
Updating cached 'problem-specifications' data...
Checking exercises...
[warn] armstrong-numbers: missing 3 test cases
       - Three-digit number that is not an Armstrong number (7154547d-c2ce-468d-b214-4cb953b870cf)
       - Armstrong number containing seven zeroes (5ee2fdf8-334e-4a46-bb8d-e5c19c02c148)
       - The largest and last Armstrong number (12ffbf10-307a-434e-b4ad-c925680e1dd4)
[warn] clock: missing 32 test cases
       - Add minutes -> add minutes (d098e723-ad29-4ef9-997a-2693c4c9d89a)
       - Add minutes -> add no minutes (b6ec8f38-e53e-4b22-92a7-60dab1f485f4)
       - Add minutes -> add to next hour (efd349dd-0785-453e-9ff8-d7452a8e7269)
       - Add minutes -> add more than one hour (749890f7-aba9-4702-acce-87becf4ef9fe)
       - Add minutes -> add more than two hours with carry (da63e4c1-1584-46e3-8d18-c9dc802c1713) 
       - Add minutes -> add across midnight (be167a32-3d33-4cec-a8bc-accd47ddbb71)
       - Add minutes -> add more than one day (1500 min = 25 hrs) (6672541e-cdae-46e4-8be7-a820cc3be2a8)
       - Add minutes -> add more than two days (1918050d-c79b-4cb7-b707-b607e2745c7e)
       - Subtract minutes -> subtract minutes (37336cac-5ede-43a5-9026-d426cbe40354)
       - Subtract minutes -> subtract to previous hour (0aafa4d0-3b5f-4b12-b3af-e3a9e09c047b)
       - Subtract minutes -> subtract more than an hour (9b4e809c-612f-4b15-aae0-1df0acb801b9)
       - Subtract minutes -> subtract across midnight (8b04bb6a-3d33-4e6c-8de9-f5de6d2c70d6)
       - Subtract minutes -> subtract more than two hours (07c3bbf7-ce4d-4658-86e8-4a77b7a5ccd9)
       - Subtract minutes -> subtract more than two hours with borrow (90ac8a1b-761c-4342-9c9c-cdc3ed5db097)
       - Subtract minutes -> subtract more than one day (1500 min = 25 hrs) (2149f985-7136-44ad-9b29-ec023a97a2b7)
       - Subtract minutes -> subtract more than two days (ba11dbf0-ac27-4acb-ada9-3b853ec08c97)
       - Compare two clocks for equality -> clocks with same time (f2fdad51-499f-4c9b-a791-b28c9282e311)
       - Compare two clocks for equality -> clocks a minute apart (5d409d4b-f862-4960-901e-ec430160b768)
       - Compare two clocks for equality -> clocks an hour apart (a6045fcf-2b52-4a47-8bb2-ef10a064cba5)
       - Compare two clocks for equality -> clocks with hour overflow (66b12758-0be5-448b-a13c-6a44bce83527)
       - Compare two clocks for equality -> clocks with hour overflow by several days (2b19960c-212e-4a71-9aac-c581592f8111)
       - Compare two clocks for equality -> clocks with negative hour (6f8c6541-afac-4a92-b0c2-b10d4e50269f)
       - Compare two clocks for equality -> clocks with negative hour that wraps (bb9d5a68-e324-4bf5-a75e-0e9b1f97a90d)
       - Compare two clocks for equality -> clocks with negative hour that wraps multiple times (56c0326d-565b-4d19-a26f-63b3205778b7)
       - Compare two clocks for equality -> clocks with minute overflow (c90b9de8-ddff-4ffe-9858-da44a40fdbc2)
       - Compare two clocks for equality -> clocks with minute overflow by several days (533a3dc5-59a7-491b-b728-a7a34fe325de)
       - Compare two clocks for equality -> clocks with negative minute (fff49e15-f7b7-4692-a204-0f6052d62636)
       - Compare two clocks for equality -> clocks with negative minute that wraps (605c65bb-21bd-43eb-8f04-878edf508366)
       - Compare two clocks for equality -> clocks with negative minute that wraps multiple times (b87e64ed-212a-4335-91fd-56da8421d077)
       - Compare two clocks for equality -> clocks with negative hours and minutes (822fbf26-1f3b-4b13-b9bf-c914816b53dd)
       - Compare two clocks for equality -> clocks with negative hours and minutes that wrap (e787bccd-cf58-4a1d-841c-ff80eaaccfaa)
       - Compare two clocks for equality -> full clock and zeroed clock (96969ca8-875a-48a1-86ae-257a528c44f5)
[warn] darts: missing 7 test cases
       - Near the center (b65abce3-a679-4550-8115-4b74bda06088)
       - Just within the inner circle (66c29c1d-44f5-40cf-9927-e09a1305b399)
       - Just outside the inner circle (d1012f63-c97c-4394-b944-7beb3d0b141a)
       - Just within the middle circle (ab2b5666-b0b4-49c3-9b27-205e790ed945)
       - Just outside the middle circle (70f1424e-d690-4860-8caf-9740a52c0161)
       - Just within the outer circle (a7dbf8db-419c-4712-8a7f-67602b69b293)
       - Just outside the outer circle (e0f39315-9f9a-4546-96e4-a9475b885aa7)
       - Square the sum of the numbers up to the given number -> square of sum 1 (e46c542b-31fc-4506-bcae-6b62b3268537)
       - Square the sum of the numbers up to the given number -> square of sum 5 (9b3f96cb-638d-41ee-99b7-b4f9c0622948)
       - Square the sum of the numbers up to the given number -> square of sum 100 (54ba043f-3c35-4d43-86ff-3a41625d5e86)
       - Sum the squares of the numbers up to the given number -> sum of squares 1 (01d84507-b03e-4238-9395-dd61d03074b5)
       - Sum the squares of the numbers up to the given number -> sum of squares 5 (c93900cd-8cc2-4ca4-917b-dd3027023499)
       - Sum the squares of the numbers up to the given number -> sum of squares 100 (94807386-73e4-4d9e-8dec-69eb135b19e4)
[warn] nth-prime: missing 1 test case
       - big prime (fce1e979-0edb-412d-93aa-2c744e8f50ff)
[warn] raindrops: missing 1 test case
       - the sound for 105 is PlingPlangPlong as it has factors 3, 5 and 7 (e46677ed-ff1a-419f-a740-5c713d2830e4)
[warn] reverse-string: missing 4 test cases
       - a sentence with punctuation (71854b9c-f200-4469-9f5c-1e8e5eff5614)
       - 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] some exercises are missing test cases
BNAndras commented 2 weeks ago

Closes #49