Skip to content

Develop#676

Open
zhyliaieva wants to merge 2 commits into
mate-academy:mainfrom
zhyliaieva:develop
Open

Develop#676
zhyliaieva wants to merge 2 commits into
mate-academy:mainfrom
zhyliaieva:develop

Conversation

@zhyliaieva

Copy link
Copy Markdown

getCoinCombination

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review Summary

The request meets all required criteria and is ready for approval.


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

Comment on lines 6 to +7
it(`should be declared`, () => {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This test only verifies the function exists. Add tests for the expected return values: getCoinCombination(1) should return [1, 0, 0, 0], getCoinCombination(6) should return [1, 1, 0, 0], getCoinCombination(17) should return [2, 1, 1, 0], and getCoinCombination(50) should return [0, 0, 0, 2].

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.

2 participants