Skip to content

Add basic unit tests#2

Open
det101 wants to merge 1 commit into
mainfrom
add-test-code
Open

Add basic unit tests#2
det101 wants to merge 1 commit into
mainfrom
add-test-code

Conversation

@det101

@det101 det101 commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • 添加 add 示例函数
  • 添加 3 个 unittest 用例(正数、负数、零)
  • 补充 README 说明如何运行测试

Test plan

  • python3 -m unittest test_test_example.py -v 全部通过

Made with Cursor

Introduce a simple add helper and unittest coverage to establish the initial test baseline.

Co-authored-by: Cursor <cursoragent@cursor.com>
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