Lines Matching refs:expect

54         it("should return a 6 element array initialized to a 2x3 identity matrix", function() { expect(result).toBeEqualish(identity); });
59 it("should return a 6 element array initialized to the values in matA", function() { expect(result).toBeEqualish(matA); });
64 it("should place values into out", function() { expect(out).toBeEqualish(matA); });
65 it("should return out", function() { expect(result).toBe(out); });
70 it("should place values into out", function() { expect(result).toBeEqualish(identity); });
71 it("should return out", function() { expect(result).toBe(out); });
78 it("should place values into out", function() { expect(out).toBeEqualish([ -2, 1, 1.5, -0.5, 1, -2 ]); });
79 it("should return out", function() { expect(result).toBe(out); });
80 it("should not modify matA", function() { expect(matA).toBeEqualish(oldA); });
86 it("should place values into matA", function() { expect(matA).toBeEqualish([ -2, 1, 1.5, -0.5, 1, -2 ]); });
87 it("should return matA", function() { expect(result).toBe(matA); });
94 it("should return the determinant", function() { expect(result).toEqual(-2); });
98 it("should have an alias called 'mul'", function() { expect(mat2d.mul).toEqual(mat2d.multiply); });
103 it("should place values into out", function() { expect(out).toBeEqualish([25, 28, 57, 64, 100, 112]); });
104 it("should return out", function() { expect(result).toBe(out); });
105 it("should not modify matA", function() { expect(matA).toBeEqualish(oldA); });
106 it("should not modify matB", function() { expect(matB).toBeEqualish(oldB); });
112 it("should place values into matA", function() { expect(matA).toBeEqualish([25, 28, 57, 64, 100, 112]); });
113 it("should return matA", function() { expect(result).toBe(matA); });
114 it("should not modify matB", function() { expect(matB).toBeEqualish(oldB); });
120 it("should place values into matB", function() { expect(matB).toBeEqualish([25, 28, 57, 64, 100, 112]); });
121 it("should return matB", function() { expect(result).toBe(matB); });
122 it("should not modify matA", function() { expect(matA).toBeEqualish(oldA); });
130 it("should place values into out", function() { expect(out).toBeEqualish([2, -1, 4, -3, 6, -5]); });
131 it("should return out", function() { expect(result).toBe(out); });
132 it("should not modify matA", function() { expect(matA).toBeEqualish(oldA); });
138 it("should place values into matA", function() { expect(matA).toBeEqualish([2, -1, 4, -3, 6, -5]); });
139 it("should return matA", function() { expect(result).toBe(matA); });
150 it("should place values into out", function() { expect(out).toBeEqualish([2, 6, 6, 12, 10, 18]); });
151 it("should return out", function() { expect(result).toBe(out); });
152 it("should not modify matA", function() { expect(matA).toBeEqualish(oldA); });
158 it("should place values into matA", function() { expect(matA).toBeEqualish([2, 6, 6, 12, 10, 18]); });
159 it("should return matA", function() { expect(result).toBe(matA); });
170 it("should place values into out", function() { expect(out).toBeEqualish([1, 2, 3, 4, 7, 9]); });
171 it("should return out", function() { expect(result).toBe(out); });
172 it("should not modify matA", function() { expect(matA).toBeEqualish(oldA); });
178 it("should place values into matA", function() { expect(matA).toBeEqualish([1, 2, 3, 4, 7, 9]); });
179 it("should return matA", function() { expect(result).toBe(matA); });
186 it("should return a string representation of the matrix", function() { expect(result).toEqual("mat2d(1, 2, 3, 4, 5, 6)"); });