| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- /**
- * @author TristanVALCKE / https://github.com/Itee
- * @author moraxy / https://github.com/moraxy
- */
- /* global QUnit */
- import { runStdLightTests } from '../../qunit-utils';
- import { HemisphereLight } from '../../../../src/lights/HemisphereLight';
- export default QUnit.module( 'Lights', () => {
- QUnit.module( 'HemisphereLight', ( hooks ) => {
- var lights = undefined;
- hooks.beforeEach( function () {
- const parameters = {
- skyColor: 0x123456,
- groundColor: 0xabc012,
- intensity: 0.6
- };
- lights = [
- new HemisphereLight(),
- new HemisphereLight( parameters.skyColor ),
- new HemisphereLight( parameters.skyColor, parameters.groundColor ),
- new HemisphereLight( parameters.skyColor, parameters.groundColor, 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( "isHemisphereLight", ( 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 );
- } );
- } );
- } );
|