1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- /**
- * @author TristanVALCKE / https://github.com/Itee
- * @author Anonymous
- */
- /* global QUnit */
- import { runStdGeometryTests } from '../../qunit-utils';
- import {
- BoxBufferGeometry
- } from '../../../../src/geometries/BoxGeometry';
- export default QUnit.module( 'Geometries', () => {
- QUnit.module( 'BoxBufferGeometry', ( hooks ) => {
- var geometries = undefined;
- hooks.beforeEach( function () {
- const parameters = {
- width: 10,
- height: 20,
- depth: 30,
- widthSegments: 2,
- heightSegments: 3,
- depthSegments: 4
- };
- geometries = [
- new BoxBufferGeometry(),
- new BoxBufferGeometry( parameters.width, parameters.height, parameters.depth ),
- new BoxBufferGeometry( parameters.width, parameters.height, parameters.depth, parameters.widthSegments, parameters.heightSegments, parameters.depthSegments )
- ];
- } );
- // 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 );
- } );
- } );
- } );
|