| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- /* global QUnit */
- import { CompressedArrayTexture } from '../../../../src/textures/CompressedArrayTexture.js';
- import { CompressedTexture } from '../../../../src/textures/CompressedTexture.js';
- export default QUnit.module( 'Textures', () => {
- QUnit.module( 'CompressedArrayTexture', () => {
- // INHERITANCE
- QUnit.test( 'Extending', ( assert ) => {
- const object = new CompressedArrayTexture();
- assert.strictEqual(
- object instanceof CompressedTexture, true,
- 'CompressedArrayTexture extends from CompressedTexture'
- );
- } );
- // INSTANCING
- QUnit.test( 'Instancing', ( assert ) => {
- const object = new CompressedArrayTexture();
- assert.ok( object, 'Can instantiate a CompressedArrayTexture.' );
- } );
- // PROPERTIES
- QUnit.todo( 'image.depth', ( assert ) => {
- // { width: width, height: height, depth: depth }
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- QUnit.todo( 'wrapR', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- // PUBLIC
- QUnit.test( 'isCompressedArrayTexture', ( assert ) => {
- const object = new CompressedArrayTexture();
- assert.ok(
- object.isCompressedArrayTexture,
- 'CompressedArrayTexture.isCompressedArrayTexture should be true'
- );
- } );
- } );
- } );
|