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 automatic tests #6

Open
coffeenotfound opened this issue Jan 27, 2017 · 5 comments
Open

Add automatic tests #6

coffeenotfound opened this issue Jan 27, 2017 · 5 comments
Assignees
Milestone

Comments

@coffeenotfound
Copy link
Owner

Add tests to verify functions are correct. Getting the wrong result is annoying and time-wasting as you assume your own code gets something wrong.

@coffeenotfound
Copy link
Owner Author

I don't know any js test suites, yet, but I assume there's something like JUnit.

JSUnit maybe? 😄

@coffeenotfound
Copy link
Owner Author

One thing to definitely check is that functions don't break when passing the same vector as an operand and target!

@coffeenotfound
Copy link
Owner Author

Also, check for acceses to Vec3.x/y/z, which should be Vec3[0/1/2]

@coffeenotfound
Copy link
Owner Author

I'm gonna tackle this issue now

I think npm is the best bet

@coffeenotfound coffeenotfound self-assigned this Feb 1, 2017
@coffeenotfound
Copy link
Owner Author

This will have to wait a bit longer but atleast it's very easy now thanks to the beloved npm

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

No branches or pull requests

1 participant