| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- /* global QUnit */
- import { runStdLightTests } from '../../utils/qunit-utils';
- import { DirectionalLight } from '../../../../src/lights/DirectionalLight';
- export default QUnit.module( 'Lights', () => {
- QUnit.module( 'DirectionalLight', ( hooks ) => {
- var lights = undefined;
- hooks.beforeEach( function () {
- const parameters = {
- color: 0xaaaaaa,
- intensity: 0.8
- };
- lights = [
- new DirectionalLight(),
- new DirectionalLight( parameters.color ),
- new DirectionalLight( parameters.color, parameters.intensity )
- ];
- } );
- // 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" );
- } );
- // PUBLIC STUFF
- QUnit.todo( "isDirectionalLight", ( assert ) => {
- assert.ok( false, "everything's gonna be alright" );
- } );
- QUnit.todo( "copy", ( assert ) => {
- assert.ok( false, "everything's gonna be alright" );
- } );
- // OTHERS
- QUnit.test( 'Standard light tests', ( assert ) => {
- runStdLightTests( assert, lights );
- } );
- } );
- } );
|