JAVASCRIPT 30
Strip.js Guest on 20th April 2021 11:22:41 PM
  1. describe('pixi/extras/Strip', function () {
  2.     'use strict';
  3.  
  4.     var expect = chai.expect;
  5.     var Strip = PIXI.Strip;
  6.     var Texture = PIXI.Texture;
  7.  
  8.     it('Module exists', function () {
  9.         expect(Strip).to.be.a('function');
  10.     });
  11.  
  12.     it('Confirm new instance', function () {
  13.        
  14.            
  15.             // TODO-Alvin
  16.             // We tweaked it to make it pass the tests, but the whole strip class needs
  17.             // to be re-coded
  18.            
  19.             var texture = Texture.fromImage('/base/test/textures/bunny.png');
  20.            
  21.         // var obj = new Strip(texture, 20, 10000);
  22.            
  23.            
  24.         // pixi_extras_Strip_confirmNew(obj);
  25.     });
  26. });

Paste-bin is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.