Skip to content
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

Add Vector2/3/4 tests #13973

Merged
merged 5 commits into from
Jun 19, 2023
Merged

Add Vector2/3/4 tests #13973

merged 5 commits into from
Jun 19, 2023

Conversation

dr-vortex
Copy link
Contributor

Also adds tmp and temp to .gitignore

Note that this is to make debugging #13699 easier.

Added tmp and temp to .gitignore
@bjsplat
Copy link
Collaborator

bjsplat commented Jun 15, 2023

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Jun 16, 2023

Copy link
Contributor

@Popov72 Popov72 left a comment

Choose a reason for hiding this comment

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

Thanks a lot for this!

Copy link
Contributor

@carolhmj carolhmj left a comment

Choose a reason for hiding this comment

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

Very nice! In general, I think it's possible to make the tests cover even more if you check that the vectors used for operations haven't changed in the appropriate case. You could create a boolean variable, set it to true/false in the case it should have changed/not, and check on an after() function according to the variable.

Also fixed some tests that were not checking the right vector
@dr-vortex dr-vortex requested a review from carolhmj June 16, 2023 18:35
Copy link
Contributor

@carolhmj carolhmj left a comment

Choose a reason for hiding this comment

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

Love love it!

@RaananW RaananW merged commit bb3b5da into BabylonJS:master Jun 19, 2023
8 checks passed
@dr-vortex dr-vortex deleted the vector-tests branch June 19, 2023 15:08
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.

None yet

5 participants