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

Task "partiphify.clj" solution does not make sense #1068

Closed
robz-tirtlib opened this issue Dec 2, 2023 · 1 comment · Fixed by #1069
Closed

Task "partiphify.clj" solution does not make sense #1068

robz-tirtlib opened this issue Dec 2, 2023 · 1 comment · Fixed by #1069

Comments

@robz-tirtlib
Copy link

Task link: https://github.com/hexlet-codebattle/battle_asserts/blob/master/src/battle_asserts/issues/partiphify.clj

According to author's solution, for input data such as [[-11,5],4] correct output is [[-11],[5],[]].
Screenshot_1

It does not make sense, why would we add empty list instead of non-existent third part but wont add one instead of fourth.

@solar05
Copy link
Member

solar05 commented Dec 4, 2023

Yeah, there was a problem with solution, hence, with data generator and examples, fixed in #1069
Thanks!

@solar05 solar05 closed this as completed Dec 4, 2023
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 a pull request may close this issue.

2 participants