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