Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several tests need to be synced #248

Open
10 of 11 tasks
BNAndras opened this issue Dec 27, 2023 · 3 comments
Open
10 of 11 tasks

Several tests need to be synced #248

BNAndras opened this issue Dec 27, 2023 · 3 comments
Labels
x:action/sync Sync content with its latest version

Comments

@BNAndras
Copy link
Member

BNAndras commented Dec 27, 2023

  • allergies
  • anagram
  • largest-series-product
  • phone-number
  • run-length-encoding
  • word-count
  • armstrong-numbers
  • pangram
  • roman-numerals
  • triangle
  • two-fer

[warn] allergies: missing 1 test case
       - list when: -> no allergen score parts without highest valid score (93c2df3e-4f55-4fed-8116-7513092819cd)
[warn] anagram: missing 5 test cases
       - does not detect an anagram if the original word is repeated (630abb71-a94e-4715-8395-179ec1df9f91)
       - words are not anagrams of themselves (68934ed0-010b-4ef9-857a-20c9012d1ebf)
       - words are not anagrams of themselves even if letter case is partially different (589384f3-4c8a-4e7d-9edc-51c3e5f0c90e)
       - words are not anagrams of themselves even if letter case is completely different (ba53e423-7e02-41ee-9ae2-71f91e6d18e6)
       - words other than themselves can be anagrams (33d3f67e-fbb9-49d3-a90e-0beb00861da7)
[warn] armstrong-numbers: missing 2 test cases
       - Armstrong number containing seven zeroes (5ee2fdf8-334e-4a46-bb8d-e5c19c02c148)
       - The largest and last Armstrong number (12ffbf10-307a-434e-b4ad-c925680e1dd4)
[warn] largest-series-product: missing 1 test case
       - rejects negative span (c859f34a-9bfe-4897-9c2f-6d7f8598e7f0)
[warn] pangram: missing 1 test case
       - a-m and A-M are 26 different characters but not a pangram (7138e389-83e4-4c6e-8413-1e40a0076951)
[warn] phone-number: missing 4 test cases
       - invalid when 9 digits (2de74156-f646-42b5-8638-0ef1d8b58bc2)
       - invalid when more than 11 digits (4a1509b7-8953-4eec-981b-c483358ff531)
       - invalid with letters (eb8a1fc0-64e5-46d3-b0c6-33184208e28a)
       - invalid with punctuations (065f6363-8394-4759-b080-e6c8c351dd1f)
[warn] roman-numerals: missing 7 test cases
       - 16 is XVI (6d1d82d5-bf3e-48af-9139-87d7165ed509)
       - 66 is LXVI (4465ffd5-34dc-44f3-ada5-56f5007b6dad)
       - 166 is CLXVI (902ad132-0b4d-40e3-8597-ba5ed611dd8d)
       - 666 is DCLXVI (dacb84b9-ea1c-4a61-acbb-ce6b36674906)
       - 1666 is MDCLXVI (efbe1d6a-9f98-4eb5-82bc-72753e3ac328)
       - 3001 is MMMI (3bc4b41c-c2e6-49d9-9142-420691504336)
       - 3999 is MMMCMXCIX (4e18e96b-5fbb-43df-a91b-9cb511fe0856)
[warn] run-length-encoding: missing 13 test cases
       - run-length encode a string -> empty string (ad53b61b-6ffc-422f-81a6-61f7df92a231)
       - run-length encode a string -> single characters only are encoded without count (52012823-b7e6-4277-893c-5b96d42f82de)
       - run-length encode a string -> string with no single characters (b7868492-7e3a-415f-8da3-d88f51f80409)
       - run-length encode a string -> single characters mixed with repeated characters (859b822b-6e9f-44d6-9c46-6091ee6ae358)
       - run-length encode a string -> multiple whitespace mixed in string (1b34de62-e152-47be-bc88-469746df63b3)
       - run-length encode a string -> lowercase characters (abf176e2-3fbd-40ad-bb2f-2dd6d4df721a)
       - run-length decode a string -> empty string (7ec5c390-f03c-4acf-ac29-5f65861cdeb5)
       - run-length decode a string -> single characters only (ad23f455-1ac2-4b0e-87d0-b85b10696098)
       - run-length decode a string -> string with no single characters (21e37583-5a20-4a0e-826c-3dee2c375f54)
       - run-length decode a string -> single characters with repeated characters (1389ad09-c3a8-4813-9324-99363fba429c)
       - run-length decode a string -> multiple whitespace mixed in string (3f8e3c51-6aca-4670-b86c-a213bf4706b0)
       - run-length decode a string -> lowercase string (29f721de-9aad-435f-ba37-7662df4fb551)
       - encode and then decode -> encode followed by decode gives original string (2a762efd-8695-4e04-b0d6-9736899fbc16)
[warn] triangle: missing 2 test cases
       - scalene triangle -> first and third sides are equal (3da23a91-a166-419a-9abf-baf4868fd985)
       - scalene triangle -> second and third sides are equal (b6a75d98-1fef-4c42-8e9a-9db854ba0a4d)
[warn] two-fer: missing 3 test cases
       - no name given (1cf3e15a-a3d7-4a87-aeb3-ba1b43bc8dce)
       - a name given (b4c6dbb8-b4fb-42c2-bafd-10785abe7709)
       - another name given (3549048d-1a6e-4653-9a79-b0bda163e8d5)
[warn] word-count: missing 2 test cases
       - with apostrophes (4ff6c7d7-fcfc-43ef-b8e7-34ff1837a2d3)
       - quotation for word with apostrophe (6d00f1db-901c-4bec-9829-d20eb3044557)
@kotp
Copy link
Member

kotp commented Dec 28, 2023

It was auto-closed by a partial fix according to the list of exercises shown, and so I reopened it.

@BNAndras
Copy link
Member Author

My bad. I should have linked to this issue from the PRs, not the other way around in the UI. The UI seems to think I want this issue auto-closed when those PRs are merged.

@BNAndras
Copy link
Member Author

BNAndras commented Jan 1, 2024

Leaving word-count alone for now until I can do more research on regular expressions in vim. The current example.vim doesn't pass the two apostrophe tests. There are another three tests missing for that exercise that configlet didn't pick up, but those all pass (substrings from beginning, multiple spaces, and alternating word separators).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:action/sync Sync content with its latest version
Projects
None yet
Development

No branches or pull requests

2 participants