-
Notifications
You must be signed in to change notification settings - Fork 1.6k
chore: add GlobalUsings.cs with project-wide using directives in data structures tests #526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add GlobalUsings.cs with project-wide using directives in data structures tests #526
Conversation
… structures tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request adds a GlobalUsings.cs file with project-wide using directives and removes redundant using statements from test files across the DataStructures.Tests project. This modernizes the codebase to use C# 10+ global using features for better code organization and reduces repetitive using declarations.
- Added GlobalUsings.cs with commonly used namespaces declared globally
- Removed redundant using statements from all test files that are now covered by global usings
- Minor code formatting improvement in one test method
Reviewed Changes
Copilot reviewed 43 out of 43 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
DataStructures.Tests/GlobalUsings.cs | Introduces global using directives for common namespaces (System, NUnit.Framework, FluentAssertions, etc.) |
Multiple test files | Removes redundant using statements now covered by global usings |
DataStructures.Tests/Hashing/HashTableTests.cs | Minor formatting improvement to lambda expression |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
bed60ce
to
ba78eb4
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #526 +/- ##
==========================================
+ Coverage 95.15% 95.20% +0.04%
==========================================
Files 272 272
Lines 10875 10875
Branches 1529 1529
==========================================
+ Hits 10348 10353 +5
+ Misses 400 397 -3
+ Partials 127 125 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-request a review when the comments are addressed
ba78eb4
to
373ffbf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 43 out of 43 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Description
This pull request contains the following changes
Issue link: #520