Skip to content

test(python): add test cases for practice294 getMinDistance - #208

Merged
Huerte merged 2 commits into
Huerte:mainfrom
Vamsi-2581:test/practice294-test-cases-202-1
Nov 9, 2026
Merged

Huerte merged 2 commits into
Huerte:mainfrom
Vamsi-2581:test/practice294-test-cases-202-1

Conversation

@Vamsi-2581

Copy link
Copy Markdown
Contributor

Closes #202

Summary

  • Add 5 test cases with assertions for Solution.getMinDistance in solutions/python/practice294.py.
  • Includes edge case testing single-element array ([1]), identical elements, and boundary target distances.

Validation

  • Ran the test assertions locally with Python 3; all 5 assertions passed.

Added test cases to validate the getMinDistance method.
Updated the comment header for clarity and removed unnecessary line.
@Huerte
Huerte merged commit dfe7e2e into Huerte:main Nov 9, 2026
1 check passed
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.

Add 3 test cases to a solution (15 min, super easy)

2 participants