Skip to content

feat: add fibonacci function with edge case handling - #4

Open
Zhiyilang074811 wants to merge 1 commit into
gougousongsong:mainfrom
Zhiyilang074811:fix-fibonacci
Open

feat: add fibonacci function with edge case handling#4
Zhiyilang074811 wants to merge 1 commit into
gougousongsong:mainfrom
Zhiyilang074811:fix-fibonacci

Conversation

@Zhiyilang074811

Copy link
Copy Markdown

Closes #1

  • Added fibonacci(n) to src/math_utils.py
  • Raises ValueError for n < 0 with message 'n must be non-negative'
  • Added comprehensive tests in tests/test_math_utils.py
  • All existing tests continue to pass

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 fibonacci function with edge case handling

1 participant