1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- /* global QUnit */
- import { CompressedTexture } from '../../../../src/textures/CompressedTexture.js';
- import { Texture } from '../../../../src/textures/Texture.js';
- export default QUnit.module( 'Textures', () => {
- QUnit.module( 'CompressedTexture', () => {
- // INHERITANCE
- QUnit.test( 'Extending', ( assert ) => {
- var object = new CompressedTexture();
- assert.strictEqual( object instanceof Texture, true, 'CompressedTexture extends from Texture' );
- } );
- // INSTANCING
- QUnit.todo( 'Instancing', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- // PROPERTIES
- QUnit.todo( 'image', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- QUnit.todo( 'mipmaps', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- QUnit.todo( 'flipY', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- QUnit.todo( 'generateMipmaps', ( assert ) => {
- assert.ok( false, 'everything\'s gonna be alright' );
- } );
- // PUBLIC
- QUnit.test( 'isCompressedTexture', ( assert ) => {
- const object = new CompressedTexture();
- assert.ok(
- object.isCompressedTexture,
- 'CompressedTexture.isCompressedTexture should be true'
- );
- } );
- } );
- } );
|