Skip to content

Add CGVector type - #7

Merged
Kyle-Ye merged 1 commit into
mainfrom
feature/add-cgvector
Apr 5, 2026
Merged

Add CGVector type#7
Kyle-Ye merged 1 commit into
mainfrom
feature/add-cgvector

Conversation

@Kyle-Ye

Copy link
Copy Markdown
Member

Summary

  • Add CGVector struct with dx/dy properties matching Darwin's CoreGraphics API
  • Conform to Equatable, Sendable, Hashable, and CustomDebugStringConvertible

Test plan

  • Verify build succeeds locally
  • CI passes on all platforms (macOS, Linux)

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.11%. Comparing base (a36ba82) to head (c284db3).

Files with missing linesPatch %Lines
Sources/OpenCoreGraphics/CGVector.swift0.00%11 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@## main #7 +/- ##
==========================================
- Coverage 71.35% 70.11% -1.25% 
==========================================
Files 13 14 +1 Lines 618 629 +11 ==========================================
Hits 441 441 - Misses 177 188 +11 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kyle-Ye
Kyle-Ye merged commit 050239b into mainApr 5, 2026
3 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/add-cgvector branch April 5, 2026 20:09
Sign up for freeto 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

@Kyle-Ye@codecov-commenter