CanvasTexture.tests.js 850 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* global QUnit */
  2. import { CanvasTexture } from '../../../../src/textures/CanvasTexture.js';
  3. import { Texture } from '../../../../src/textures/Texture.js';
  4. export default QUnit.module( 'Textures', () => {
  5. QUnit.module( 'CanvasTexture', () => {
  6. // INHERITANCE
  7. QUnit.test( 'Extending', ( assert ) => {
  8. var object = new CanvasTexture();
  9. assert.strictEqual( object instanceof Texture, true, 'CanvasTexture extends from Texture' );
  10. } );
  11. // INSTANCING
  12. QUnit.todo( 'Instancing', ( assert ) => {
  13. assert.ok( false, 'everything\'s gonna be alright' );
  14. } );
  15. // PROPERTIES
  16. QUnit.todo( 'needsUpdate', ( assert ) => {
  17. assert.ok( false, 'everything\'s gonna be alright' );
  18. } );
  19. // PUBLIC
  20. QUnit.todo( 'isCanvasTexture', ( assert ) => {
  21. assert.ok( false, 'everything\'s gonna be alright' );
  22. } );
  23. } );
  24. } );