|
@@ -30,6 +30,16 @@ export default QUnit.module( 'Maths', () => {
|
|
|
} );
|
|
|
|
|
|
// PUBLIC
|
|
|
+ QUnit.test( 'isSphere', ( assert ) => {
|
|
|
+
|
|
|
+ const a = new Sphere();
|
|
|
+ assert.ok( a.isSphere === true, 'Passed!' );
|
|
|
+
|
|
|
+ const b = new Box3();
|
|
|
+ assert.ok( ! b.isSphere, 'Passed!' );
|
|
|
+
|
|
|
+ } );
|
|
|
+
|
|
|
QUnit.test( 'set', ( assert ) => {
|
|
|
|
|
|
const a = new Sphere();
|