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 unit tests for interpolations #614

Merged

Conversation

MasatoMakino
Copy link
Contributor

Related Issues

Purpose of this Pull Request

This PR is for adding unit tests to TWEEN.Interpolation functions.

Details of the changes

  • Test TWEEN.interpolation should starts at values[0], ends at values[values.length-1].
  • Test TWEEN.interpolation.Bezier should return a value equal to Linear if there are two values.
  • Test TWEEN.interpolation should pass a specific value.

@trusktr trusktr linked an issue Aug 2, 2021 that may be closed by this pull request
@trusktr
Copy link
Member

trusktr commented Aug 2, 2021

Sweeeet!

@trusktr trusktr merged commit 83bfa69 into tweenjs:master Aug 2, 2021
@MasatoMakino MasatoMakino deleted the PR-#245-add-interpolation-tests branch August 2, 2021 06:17
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.

Add interpolation tests
2 participants