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 Geometries #25399

Merged
merged 21 commits into from
Feb 2, 2023
Merged

Tests: Unit Tests for Geometries #25399

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 Geometries.
Fills in some unit tests, populates the missing member tests with stubs. Explicit block scope for variables used in tests.

BoxGeometry extends from BufferGeometry
BoxGeometry.type should be BoxGeometry
Stub missing member tests.
CapsuleGeometry extends from LatheGeometry
CapsuleGeometry.type should be CapsuleGeometry
Stub missing member tests.
CircleGeometry extends from BufferGeometry
CircleGeometry.type should be CircleGeometry
Stub missing member tests.
ConeGeometry extends from CylinderGeometry.
ConeGeometry.type should be ConeGeometry
Stub missing member tests.
CylinderGeometry extends from BufferGeometry
CylinderGeometry.type should be CylinderGeometry
Stub missing member tests.
DodecahedronGeometry extends from PolyhedronGeometry
DodecahedronGeometry.type should be DodecahedronGeometry
Stub missing member tests.
EdgesGeometry extends from BufferGeometry
EdgesGeometry.type should be EdgesGeometry
Stub missing member tests.
Explicit block scope for variables used in tests.
ExtrudeGeometry extends from BufferGeometry
ExtrudeGeometry.type should be ExtrudeGeometry
Stub missing member tests.
IcosahedronGeometry extends from PolyhedronGeometry
IcosahedronGeometry.type should be IcosahedronGeometry
Stub missing member tests.
LatheGeometry extends from BufferGeometry
LatheGeometry.type should be LatheGeometry
Stub missing member tests.
OctahedronGeometry extends from PolyhedronGeometry
OctahedronGeometry.type should be OctahedronGeometry
Stub missing member tests.
PlaneGeometry extends from BufferGeometry
PlaneGeometry.type should be PlaneGeometry
Stub missing member tests.
PolyhedronGeometry extends from BufferGeometry
PolyhedronGeometry.type should be PolyhedronGeometry
Stub missing member tests.
RingGeometry extends from BufferGeometry
RingGeometry.type should be RingGeometry
Stub missing member tests.
ShapeGeometry extends from BufferGeometry
ShapeGeometry.type should be ShapeGeometry
Stub missing member tests.
SphereGeometry extends from BufferGeometry
SphereGeometry.type should be SphereGeometry
Stub missing member tests.
TetrahedronGeometry extends from PolyhedronGeometry
TetrahedronGeometry.type should be TetrahedronGeometry
Stub missing member tests.
TorusGeometry extends from BufferGeometry
TorusGeometry.type should be TorusGeometry
Stub missing member tests.
TorusKnotGeometry extends from BufferGeometry
TorusKnotGeometry.type should be TorusKnotGeometry
Stub missing member tests.
TubeGeometry extends from BufferGeometry
TubeGeometry.type should be TubeGeometry
Stub missing member tests.
WireframeGeometry extends from BufferGeometry
WireframeGeometry.type should be WireframeGeometry
Stub missing member tests.
@mrdoob mrdoob added this to the r150 milestone Feb 2, 2023
@mrdoob mrdoob merged commit f72acd1 into mrdoob:dev Feb 2, 2023
@epreston epreston deleted the tests-geometries-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.

2 participants