Lines Matching refs:expect
35 expect(path.equals(path)).toBe(true);
36 expect(otherPath.equals(path)).toBe(true);
37 expect(path.equals(otherPath)).toBe(true);
39 expect(path.equals(blank)).toBe(false);
40 expect(otherPath.equals(blank)).toBe(false);
41 expect(blank.equals(path)).toBe(false);
42 expect(blank.equals(otherPath)).toBe(false);
56 expect(orig.toSVGString()).toEqual(copy.toSVGString());
57 expect(orig.equals(copy)).toBe(true);
70 expect(orig.toSVGString()).toEqual(copy.toSVGString());
71 expect(orig.equals(copy)).toBe(true);
84 expect(orig.toSVGString()).toEqual(copy.toSVGString());
85 expect(orig.equals(copy)).toBe(true);
97 expect(actual).toEqual(expected);
100 expect(actual.fLeft).toBeCloseTo(expected.fLeft, 4);
101 expect(actual.fTop).toBeCloseTo(expected.fTop, 4);
102 expect(actual.fRight).toBeCloseTo(expected.fRight, 4);
103 expect(actual.fBottom).toBeCloseTo(expected.fBottom, 4);
116 expect(path.getBounds()).toEqual(PathKit.LTRBRect(0, 0, 0, 0));
118 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, -5, -8));
120 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, 3, 4));
122 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, 3, 4));
134 expect(path.getBounds()).toEqual(PathKit.LTRBRect(1, 1, 4, 3));
149 expect(actual).toEqual(expected);
155 expect(arg).toBeCloseTo(expected[cmdIdx][argIdx], 4)