Skip to content

flatten-array Add additional test cases#1953

Merged
BethanyG merged 2 commits intoexercism:mainfrom
kwchang0831:1951-proposal2-add-test-cases
Feb 7, 2022
Merged

flatten-array Add additional test cases#1953
BethanyG merged 2 commits intoexercism:mainfrom
kwchang0831:1951-proposal2-add-test-cases

Conversation

@kwchang0831
Copy link
Copy Markdown
Contributor

2nd Proposal of #1951

Add additional test cases to test if solution can correctly filter out null values from input list without filter out other non-null values.

@siebenschlaefer
Copy link
Copy Markdown
Contributor

Three suggestions:
"consecutibe" -> "consecutive"
"in the front of list" -> "at the front of the list"
"in the middle of list" -> "in the middle of the list"

(Disclaimer: I'm not a native English speaker.)

@BethanyG
Copy link
Copy Markdown
Member

BethanyG commented Feb 7, 2022

@siebenschlaefer

(Disclaimer: I'm not a native English speaker.)

Which makes you much better at catching typos!

@BethanyG BethanyG self-requested a review February 7, 2022 14:10
Comment thread exercises/flatten-array/canonical-data.json Outdated
Comment thread exercises/flatten-array/canonical-data.json Outdated
Copy link
Copy Markdown
Member

@BethanyG BethanyG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put in the suggestions for typo correction caught by @siebenschlaefer.

@kwchang0831 kwchang0831 force-pushed the 1951-proposal2-add-test-cases branch from 1430783 to 8944444 Compare February 7, 2022 15:27
@kwchang0831 kwchang0831 force-pushed the 1951-proposal2-add-test-cases branch from 8944444 to 737b36e Compare February 7, 2022 15:30
@kwchang0831
Copy link
Copy Markdown
Contributor Author

kwchang0831 commented Feb 7, 2022

Really appreciate both your help. I have updated the typo and suggested changes.

@kwchang0831 kwchang0831 requested a review from BethanyG February 7, 2022 15:33
Copy link
Copy Markdown
Member

@BethanyG BethanyG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! 🌟

@BethanyG
Copy link
Copy Markdown
Member

BethanyG commented Feb 7, 2022

Paging @exercism/reviewers for additional reviews/approval. 😄

Comment thread exercises/flatten-array/canonical-data.json Outdated
Co-authored-by: Peter Tseng <petertseng@users.noreply.github.com>
@BethanyG BethanyG merged commit 4b137d6 into exercism:main Feb 7, 2022
@kwchang0831 kwchang0831 deleted the 1951-proposal2-add-test-cases branch February 7, 2022 18:57
ErikSchierboom added a commit to ErikSchierboom/problem-specifications that referenced this pull request Feb 11, 2022
* Format using prettier (exercism#1917)

Format using prettier

* updated description of anagrams exercise (exercism#1928)

* updated description of anagrams

* changed anagram description to be one-sentence-per-line

* updated description of anagrams to use sets

* Update Licence

Give a look at the discussion in BR exercism#1930

* rational-numbers: test to reduce abs value (exercism#1938)

* Change saddle point references to row, column (exercism#1948)

* word-search: Add test case

* Update exercises/word-search/canonical-data.json

Agreed.

Co-authored-by: Erik Schierboom <erik_schierboom@hotmail.com>

* meetup: improve descriptions by saying why each case is tested (exercism#1919)

descriptions show whether a date is the first, last, or an arbitrary
middle date of the week. This helps understand why certain cases are
selected.

Closes exercism#974

* word-search: Add cases checking for concatenation and wrapping

The author of this commit thinks that concatenation is highly unlikely,
but the wrapping might be useful to check in languages that allow
negative indices.

* `flatten-array` Add additional test cases (exercism#1953)

* Add additional test cases to flatten-array

* Update exercises/flatten-array/canonical-data.json

Co-authored-by: Peter Tseng <petertseng@users.noreply.github.com>

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
Co-authored-by: Peter Tseng <petertseng@users.noreply.github.com>

* Fix bowling game copy (exercism#1955)

Fixes exercism#1954

* Add action to format code (exercism#1941)

* build(deps): bump DavidAnson/markdownlint-cli2-action (exercism#1952)

Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/DavidAnson/markdownlint-cli2-action) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/DavidAnson/markdownlint-cli2-action/releases)
- [Commits](DavidAnson/markdownlint-cli2-action@b3c3b40...744f913)

---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Reduced rational nr. should be in standard form. (exercism#1958)

* Reduced rational should be in standard form.

The current instructors fail to mention that a reduced rational number should always be rendered in standard form (without any negative value at the denominator).

* remove superflous blank lines; fix wording

* scale-generator: use flat and sharp symbols (exercism#1942)

* Update configlet part in README (exercism#1949)

Co-authored-by: ee7 <45465154+ee7@users.noreply.github.com>

* phone number: only one problem per test input (exercism#1959)

* [Phone Number] Only one problem per test input

Because the area code is not allowed to start with 0 or 1, inputs designed to elicit other errors should not use area codes that start with either of those digits.

* Respect immutability

* Correct field name: s/comment/comments/

* Comments should contain a list.

* Allow prettier to improve comments

* book-store: reorder keys

* darts: reorder keys

* grade-school: reorder keys

* hamming: reorder keys

* high-scores: reorder keys

* largest-series-product: reorder keys

* list-ops: reorder keys

* luhn: reorder keys

* triangle: reorder keys

* scale-generator: reorder keys

* saddle-points: reorder keys

* diffie-hellman: reorder keys

* collatz-conjecture: reorder keys

* anagram: reorder keys

* accumulate: reorder keys

* Add CI script to check correct order of keys

Co-authored-by: Bart Massey <bart.massey@gmail.com>
Co-authored-by: y8l <72172663+yusufadell@users.noreply.github.com>
Co-authored-by: Ivan Ivanov <mr.mstranger@gmail.com>
Co-authored-by: Damian C. Rossney <dcr8898@users.noreply.github.com>
Co-authored-by: mariohuq <mariohuq@github.com>
Co-authored-by: mariohuq <mario.huq@gmail.com>
Co-authored-by: Peter Tseng <petertseng@users.noreply.github.com>
Co-authored-by: Peter Tseng <pht24@cornell.edu>
Co-authored-by: AH WEI <88667293+kwchang0831@users.noreply.github.com>
Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
Co-authored-by: Cedd Burge <ceddlyburge@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Davide Alberto Molin <davide@davidemolin.com>
Co-authored-by: wolf99 <281700+wolf99@users.noreply.github.com>
Co-authored-by: June <12543047+junedev@users.noreply.github.com>
Co-authored-by: ee7 <45465154+ee7@users.noreply.github.com>
Co-authored-by: Leah Hanson <astrieanna@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants