Newer
Older
pixi.js / test / unit / pixi-v2 / core / Rectangle.js
@Dr. Kibtiz Dr. Kibtiz on 21 Mar 2015 374 bytes Moved old tests to pixi-v2 dir
describe('pixi/core/Rectangle', function () {
    'use strict';

    var expect = chai.expect;
    var Rectangle = PIXI.Rectangle;

    it('Module exists', function () {
        expect(Rectangle).to.be.a('function');
    });

    it('Confirm new instance', function () {
        var rect = new Rectangle();
        pixi_core_Rectangle_confirm(rect, 0, 0, 0, 0);
    });
});