Skip to content

Add tests for calculator (by Claude Opus 4.6 Vanilla)#11

Open
hiroshinishio wants to merge 1 commit intomainfrom
vanilla
Open

Add tests for calculator (by Claude Opus 4.6 Vanilla)#11
hiroshinishio wants to merge 1 commit intomainfrom
vanilla

Conversation

@hiroshinishio
Copy link
Copy Markdown
Contributor

Summary

  • Add test_calculator.py with 19 pytest tests covering all four arithmetic operations
  • Tests cover positive/negative numbers, floats, mixed signs, zeros, and division-by-zero error handling

Test plan

  • All 19 tests pass locally with pytest test_calculator.py -v

🤖 Generated with Claude Code

Implement basic arithmetic operations (add, subtract, multiply, divide)
and comprehensive pytest test suite covering positive/negative numbers,
floats, mixed signs, and division by zero.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@hiroshinishio hiroshinishio changed the title Add tests for calculator Add tests for calculator (by Claude Opus 4.6 Vanilla) Mar 28, 2026
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.

1 participant