{"size": 714, "ext": "js", "max_stars_repo_path": "test/unit/pixi/extras/TilingSprite.js", "max_stars_repo_name": "JanAmbrozic/pixi.js", "max_stars_repo_stars_event_min_datetime": "2015-01-07T22:47:35.000Z", "max_stars_repo_stars_event_max_datetime": "2021-09-16T00:18:45.000Z", "max_issues_repo_path": "test/unit/pixi/extras/TilingSprite.js", "max_issues_repo_name": "JanAmbrozic/pixi.js", "max_issues_repo_issues_event_min_datetime": "2015-01-13T18:20:39.000Z", "max_issues_repo_issues_event_max_datetime": "2015-01-22T19:22:50.000Z", "max_forks_repo_path": "test/unit/pixi/extras/TilingSprite.js", "max_forks_repo_name": "JanAmbrozic/pixi.js", "max_forks_repo_forks_event_min_datetime": "2018-03-05T10:16:34.000Z", "max_forks_repo_forks_event_max_datetime": "2021-01-30T17:44:24.000Z"}
{"max_stars_count": 16, "max_issues_count": 4, "max_forks_count": 2, "avg_line_length": 28.56, "max_line_length": 73, "alphanum_fraction": 0.637254902}
describe('pixi/extras/TilingSprite', function () {
    'use strict';

    var expect = chai.expect;
    var TilingSprite = PIXI.TilingSprite;
    var Texture = PIXI.Texture;

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

    it('Confirm new instance', function () {
        var texture = Texture.fromImage('/base/test/textures/bunny.png');
        var obj = new TilingSprite(texture, 6000, 12000);

        pixi_display_DisplayObjectContainer_confirmNew(obj);

        expect(obj).to.be.an.instanceof(TilingSprite);
        expect(obj).to.respondTo('setTexture');
        expect(obj).to.respondTo('onTextureUpdate');

        // TODO: Test properties
    });
});
