| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- /* global QUnit */
- import { runStdLightTests } from '../../utils/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 );
- } );
- } );
- } );
|