Skip to content

Update tests for Sprint 1 'fix median' task - #452

Merged
illicitonion merged 2 commits into
CodeYourFuture:mainfrom
tyzia:main-solutions-s1-median
Mar 29, 2025
Merged

Update tests for Sprint 1 'fix median' task#452
illicitonion merged 2 commits into
CodeYourFuture:mainfrom
tyzia:main-solutions-s1-median

Conversation

@tyzia

@tyzia tyzia commented Mar 29, 2025

Copy link
Copy Markdown
Contributor

This PR updates the tests for the fixed version of median function. The tests expect from the students to implement median function which will:

  • Sort arrays, leaving only numeric values. Median can be calculated only on numeric values.
  • Return null if no numeric values provided.

tyzia added 2 commits March 29, 2025 12:04
* Update tests for Sprint 1 'fix' exercise with median
* Add tests to check for errors and mixed arrays (advanced implementation of median)
@tyzia

tyzia commented Mar 29, 2025

Copy link
Copy Markdown
Contributor Author

solutions branch has been already updated accordingly: #390

@illicitonion illicitonion left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@illicitonion
illicitonion merged commit 1abb794 into CodeYourFuture:main Mar 29, 2025
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