Skip to content

⬅️ Back to Table of Contents

📄 Cylindrical.tests.js

📊 Analysis Summary

Metric Count
📦 Imports 3
📊 Variables & Constants 20

📚 Table of Contents

🛠️ File Location:

📂 test/unit/src/math/Cylindrical.tests.js

📦 Imports

Name Source
Cylindrical ../../../../src/math/Cylindrical.js
Vector3 ../../../../src/math/Vector3.js
eps ../../utils/math-constants.js

Variables & Constants

Name Type Kind Value Exported
a Cylindrical let/var new Cylindrical()
radius 10 let/var 10.0
theta number let/var Math.PI
y 5 let/var 5
a Cylindrical let/var new Cylindrical()
radius 10 let/var 10.0
theta number let/var Math.PI
y 5 let/var 5
radius 10 let/var 10.0
theta number let/var Math.PI
y 5 let/var 5
a Cylindrical let/var new Cylindrical( radius, theta, y )
radius 10 let/var 10.0
theta number let/var Math.PI
y 5 let/var 5
a Cylindrical let/var new Cylindrical( radius, theta, y )
a Cylindrical let/var new Cylindrical( 1, 1, 1 )
b Vector3 let/var new Vector3( 0, 0, 0 )
c Vector3 let/var new Vector3( 3, - 1, - 3 )
expected Cylindrical let/var new Cylindrical( Math.sqrt( 9 + 9 ), Math.atan2( 3, - 3 ), - 1 )