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

Tests: Unit Tests for Extras #25401

Merged
merged 21 commits into from
Feb 2, 2023
Merged

Tests: Unit Tests for Extras #25401

merged 21 commits into from
Feb 2, 2023

Conversation

epreston
Copy link
Contributor

@epreston epreston commented Feb 1, 2023

Related issue: none.

Description

This cleans up the unit tests for Extras.
Adds missing unit test files, fills in some unit tests, populates the missing member tests with stubs.

Stub Earcut unit tests.
Stub ImageUtils unit tests.
Stub PMREMGenerator unit tests.
Curve.type should be Curve
Stub missing member tests.
CurvePath extends from Curve
Curve.type should be Curve
Stub missing member tests.
Remove tests for members that don't exist in source.
Path extends from CurvePath
Path.type should be Path
Stub missing member tests.
Shape extends from Path
Shape.type should be Shape
Stub missing member tests.
ShapePath.type should be ShapePath
Stub missing member tests.
CatmullRomCurve3 extends from Curve
CatmullRomCurve3.type should be CatmullRomCurve3
CatmullRomCurve3.isCatmullRomCurve3 should be true
Stub missing member tests.
ArcCurve extends from EllipseCurve
ArcCurve.type should be ArcCurve
ArcCurve.isArcCurve should be true
CubicBezierCurve extends from Curve
CubicBezierCurve.type should be CubicBezierCurve
CubicBezierCurve.isCubicBezierCurve should be true
Stub missing member tests.
CubicBezierCurve3 extends from Curve
CubicBezierCurve3.type should be CubicBezierCurve3
CubicBezierCurve3.isCubicBezierCurve3 should be true
Stub missing member tests.
EllipseCurve extends from Curve
EllipseCurve.type should be EllipseCurve
EllipseCurve.isEllipseCurve should be true
Stub missing member tests.
LineCurve extends from Curve
LineCurve.type should be LineCurve
LineCurve.isLineCurve should be true
Stub missing member tests.
LineCurve3 extends from Curve
LineCurve3.type should be LineCurve3
LineCurve3.isLineCurve3 should be true
Stub missing member tests.
QuadraticBezierCurve extends from Curve
QuadraticBezierCurve.type should be QuadraticBezierCurve
QuadraticBezierCurve.isQuadraticBezierCurve should be true
Stub missing member tests.
QuadraticBezierCurve3 extends from Curve
QuadraticBezierCurve3.type should be QuadraticBezierCurve3
QuadraticBezierCurve3.isQuadraticBezierCurve3 should be true
Stub missing member tests.
SplineCurve extends from Curve
SplineCurve.type should be SplineCurve
SplineCurve.isSplineCurve should be true
Stub missing member tests.
@mrdoob mrdoob added this to the r150 milestone Feb 2, 2023
@mrdoob mrdoob merged commit 295d983 into mrdoob:dev Feb 2, 2023
@epreston epreston deleted the tests-extras-cleanup branch February 2, 2023 03: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

2 participants