Newer
Older
pixi.js / test / lib / pixi / core / Matrix.js
@Chad Engler Chad Engler on 2 Feb 2014 381 bytes Remove all references to mat3 or mat4
function pixi_core_Matrix_confirmNewMatrix(matrix) {
    var expect = chai.expect;

    expect(matrix).to.be.an.instanceof(PIXI.Matrix);
    expect(matrix).to.not.be.empty;

    expect(matrix.a).to.equal(1);
    expect(matrix.b).to.equal(0);
    expect(matrix.c).to.equal(0);
    expect(matrix.d).to.equal(1);
    expect(matrix.tx).to.equal(0);
    expect(matrix.ty).to.equal(0);
}