JAVASCRIPT 33
Point.js Guest on 20th April 2021 11:27:06 PM
  1. describe('pixi/core/Point', function () {
  2.     'use strict';
  3.  
  4.     var expect = chai.expect;
  5.     var Point = PIXI.Point;
  6.  
  7.     it('Module exists', function () {
  8.         expect(Point).to.be.a('function');
  9.     });
  10.  
  11.     it('Confirm new instance', function () {
  12.         var obj = new Point();
  13.         pixi_core_Point_confirm(obj, 0, 0);
  14.     });
  15. });

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.