Repository navigation
test: created a basic class to test points - #2280
Merged
Merged
Conversation
Contributor
Author
|
@dotnet-policy-service agree |
Collaborator
|
Hey, thanks a bunch for contributing ! Just a note, since those tests expect those 3 points to be constant I think it would be more appropriate to mark them as |
Contributor
Author
|
Sure, I will do that right now. Thank you for the feedback! |
Collaborator
|
Looks good, thanks ! |
xen2
pushed a commit
to xen2/stride
that referenced
this pull request
Jul 16, 2026
* created a basic class to test points * added readonly to the test points
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Details
I was looking through places to add testing in the game engine and found that there were no tests for the Point class in Stride.Mathematics. In order to add completeness and increase code coverage of the system, I figured I would add a couple simple tests just to make sure that the points are working as they are supposed to.
Description
I added a couple simple tests for the Point class in Stride.Mathematics. They are very basic and can be added to or modified if desired.
Related Issue
There is no issue related to this pull request.
Motivation and Context
This change is not required. I simply added a couple tests to increase code coverage of the project.
Types of changes
Checklist