12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- /**
- * @author TristanVALCKE / https://github.com/Itee
- * @author Anonymous
- */
- /* global QUnit */
- import { runStdGeometryTests } from '../../utils/qunit-utils';
- import {
- DodecahedronBufferGeometry
- } from '../../../../src/geometries/DodecahedronGeometry';
- export default QUnit.module( 'Geometries', () => {
- QUnit.module( 'CircleBufferGeometry', ( hooks ) => {
- var geometries = undefined;
- hooks.beforeEach( function () {
- const parameters = {
- radius: 10,
- detail: undefined
- };
- geometries = [
- new DodecahedronBufferGeometry(),
- new DodecahedronBufferGeometry( parameters.radius ),
- new DodecahedronBufferGeometry( parameters.radius, parameters.detail ),
- ];
- } );
- // INHERITANCE
- QUnit.todo( "Extending", ( assert ) => {
- assert.ok( false, "everything's gonna be alright" );
- } );
- // INSTANCING
- QUnit.todo( "Instancing", ( assert ) => {
- assert.ok( false, "everything's gonna be alright" );
- } );
- // OTHERS
- QUnit.test( 'Standard geometry tests', ( assert ) => {
- runStdGeometryTests( assert, geometries );
- } );
- } );
- } );
|