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

Improve coverage by 100% in vector2D #377

Merged
merged 7 commits into from
Feb 26, 2021

Conversation

nwessman
Copy link
Contributor

This adds tests for the vector2D-class (litiengine.util.geom.vector2D), improving the branch and instructions cover by 100%

Before:
vector2DBeforeTest
After:
vector2DFinal

This adds a test for Vector2D class that asserts that the add function works for all three types of initiations of an object.
This adds tests that assert correct length after unit vector function has been ran.
Copy link
Member

@nightm4re94 nightm4re94 left a comment

Choose a reason for hiding this comment

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

Thank you!

@nightm4re94 nightm4re94 merged commit 8783b07 into gurkenlabs:master Feb 26, 2021
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