Skip to content

codecov 테스트용 함수 추가#182

Closed
reddevilmidzy wants to merge 1 commit intomainfrom
add
Closed

codecov 테스트용 함수 추가#182
reddevilmidzy wants to merge 1 commit intomainfrom
add

Conversation

@reddevilmidzy
Copy link
Owner

♟️ What’s this PR about?

codecov 테스트용 함수 추가..

🔗 Related Issues / PRs

Copilot AI review requested due to automatic review settings July 16, 2025 07:19
@github-actions github-actions bot added this to the 5차 MVP 구현 milestone Jul 16, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds a simple add function and its unit test to increase code coverage.

  • Introduces a new add(a: i32, b: i32) -> i32 helper function
  • Provides a basic test case verifying add(1, 2) == 3
Comments suppressed due to low confidence (2)

rook/src/main.rs:49

  • Consider adding more test cases (e.g., zero, negative values, edge conditions) to improve coverage across different input scenarios.
        assert_eq!(add(1, 2), 3);

rook/src/main.rs:39

  • [nitpick] Add a doc comment above add to explain its purpose and behavior, which will help other contributors understand its intended use.
fn add(a: i32, b: i32) -> i32 {

@codecov
Copy link

codecov bot commented Jul 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@reddevilmidzy
Copy link
Owner Author

image

그래도 뭔가 바뀌긴 했다. 전엔 100.00% of diff hit(target 80.00%) 이런 메시지가 아니라

image

coveraged not affected 떴었는데

@reddevilmidzy reddevilmidzy deleted the add branch July 16, 2025 08:14
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