Home
last modified time | relevance | path

Searched refs:toEqual (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/mojo/public/js/bindings/
Dstruct_unittests.js15 expect(r).toEqual(new rect.Rect({x:0, y:0, width:0, height:0}));
16 expect(r).toEqual(new rect.Rect({foo:100, bar:200}));
23 expect(rp.first).toEqual(r);
24 expect(rp.second).toEqual(r);
31 expect(nr).toEqual(new testStructs.NamedRegion({}));
35 expect(nr).toEqual(new testStructs.NamedRegion({
41 expect(e).toEqual(new testStructs.EmptyStruct({foo:123}));
46 expect(s.f0).toEqual(false);
50 expect(s["f" + i]).toEqual(0);
59 expect(s.f0).toEqual(true);
[all …]
Dcodec_unittests.js50 expect(actualMemory).toEqual(expectedMemory);
117 expect(actualMemory).toEqual(expectedMemory);
123 expect(message.handles).toEqual(expectedHandles);
139 expect(foo2.bar).toEqual(foo.bar);
140 expect(foo2.data).toEqual(foo.data);
142 expect(foo2.extra_bars).toEqual(foo.extra_bars);
144 expect(foo2.source).toEqual(foo.source);
146 expect(foo2.array_of_bools).toEqual(foo.array_of_bools);
170 expect(result.name).toEqual("rectangle");
171 expect(result.rects[0]).toEqual(createRect(1, 2, 3, 4));
[all …]
Dvalidation_unittests.js220 expect(actualResult).toEqual(expectedResult);
/external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/
Dvec4-spec.js83 … it("should have an alias called 'sub'", function() { expect(vec4.sub).toEqual(vec4.subtract); });
112 … it("should have an alias called 'mul'", function() { expect(vec4.mul).toEqual(vec4.multiply); });
141 … it("should have an alias called 'div'", function() { expect(vec4.div).toEqual(vec4.divide); });
245 …it("should have an alias called 'dist'", function() { expect(vec4.dist).toEqual(vec4.distance); });
253 …it("should have an alias called 'sqrDist'", function() { expect(vec4.sqrDist).toEqual(vec4.squared…
257 it("should return the squared distance", function() { expect(result).toEqual(64); });
261 … it("should have an alias called 'len'", function() { expect(vec4.len).toEqual(vec4.length); });
269 …it("should have an alias called 'sqrLen'", function() { expect(vec4.sqrLen).toEqual(vec4.squaredLe…
273 it("should return the squared length", function() { expect(result).toEqual(30); });
315 it("should return the dot product", function() { expect(result).toEqual(70); });
[all …]
Dvec3-spec.js83 … it("should have an alias called 'sub'", function() { expect(vec3.sub).toEqual(vec3.subtract); });
112 … it("should have an alias called 'mul'", function() { expect(vec3.mul).toEqual(vec3.multiply); });
141 … it("should have an alias called 'div'", function() { expect(vec3.div).toEqual(vec3.divide); });
245 …it("should have an alias called 'dist'", function() { expect(vec3.dist).toEqual(vec3.distance); });
253 …it("should have an alias called 'sqrDist'", function() { expect(vec3.sqrDist).toEqual(vec3.squared…
257 it("should return the squared distance", function() { expect(result).toEqual(27); });
261 … it("should have an alias called 'len'", function() { expect(vec3.len).toEqual(vec3.length); });
269 …it("should have an alias called 'sqrLen'", function() { expect(vec3.sqrLen).toEqual(vec3.squaredLe…
273 it("should return the squared length", function() { expect(result).toEqual(14); });
315 it("should return the dot product", function() { expect(result).toEqual(32); });
[all …]
Dvec2-spec.js83 … it("should have an alias called 'sub'", function() { expect(vec2.sub).toEqual(vec2.subtract); });
112 … it("should have an alias called 'mul'", function() { expect(vec2.mul).toEqual(vec2.multiply); });
141 … it("should have an alias called 'div'", function() { expect(vec2.div).toEqual(vec2.divide); });
245 …it("should have an alias called 'dist'", function() { expect(vec2.dist).toEqual(vec2.distance); });
253 …it("should have an alias called 'sqrDist'", function() { expect(vec2.sqrDist).toEqual(vec2.squared…
257 it("should return the squared distance", function() { expect(result).toEqual(8); });
261 … it("should have an alias called 'len'", function() { expect(vec2.len).toEqual(vec2.length); });
269 …it("should have an alias called 'sqrLen'", function() { expect(vec2.sqrLen).toEqual(vec2.squaredLe…
273 it("should return the squared length", function() { expect(result).toEqual(5); });
315 it("should return the dot product", function() { expect(result).toEqual(11); });
[all …]
Dquat-spec.js95 … it("should have an alias called 'mul'", function() { expect(quat.mul).toEqual(quat.multiply); });
141 … it("should have an alias called 'len'", function() { expect(quat.len).toEqual(quat.length); });
149 …it("should have an alias called 'sqrLen'", function() { expect(quat.sqrLen).toEqual(quat.squaredLe…
153 it("should return the squared length", function() { expect(result).toEqual(30); });
268 … a string representation of the quaternion", function() { expect(result).toEqual("quat(1, 2, 3, 4)…
Dmat3-spec.js190 it("should return the determinant", function() { expect(result).toEqual(1); });
194 … it("should have an alias called 'mul'", function() { expect(mat3.mul).toEqual(mat3.multiply); });
267 …turn a string representation of the matrix", function() { expect(result).toEqual("mat3(1, 0, 0, 0,…
Dmat2d-spec.js94 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); });
186 …turn a string representation of the matrix", function() { expect(result).toEqual("mat2d(1, 2, 3, 4…
Dmat2-spec.js116 it("should return the determinant", function() { expect(result).toEqual(-2); });
120 … it("should have an alias called 'mul'", function() { expect(mat2.mul).toEqual(mat2.multiply); });
188 …turn a string representation of the matrix", function() { expect(result).toEqual("mat2(1, 2, 3, 4)…
Dmat4-spec.js188 it("should return the determinant", function() { expect(result).toEqual(1); });
192 … it("should have an alias called 'mul'", function() { expect(mat4.mul).toEqual(mat4.multiply); });
564 …turn a string representation of the matrix", function() { expect(result).toEqual("mat4(1, 0, 0, 0,…
/external/chromium_org/gin/test/
Dexpect.js146 predicates.toEqual = function(actual, expected) { function