Lines Matching refs:bounds
24 const testBarCodeBounds = (bounds, expectedBounds, sizeInaccuracy, originInaccuracy) => { argument
25 t.expect(bounds).toBeDefined();
26 t.expect(typeof bounds.origin).toBe('object');
27 t.expect(typeof bounds.origin.x).toBe('number');
28 t.expect(typeof bounds.origin.y).toBe('number');
29 t.expect(typeof bounds.size).toBe('object');
30 t.expect(typeof bounds.size.width).toBe('number');
31 t.expect(typeof bounds.size.height).toBe('number');
33 testPoint(bounds.origin.x, expectedBounds.origin.x, originInaccuracy);
34 testPoint(bounds.origin.y, expectedBounds.origin.y, originInaccuracy);
36 testPoint(bounds.size.width, expectedBounds.size.width, sizeInaccuracy);
37 testPoint(bounds.size.height, expectedBounds.size.height, sizeInaccuracy);
87 result[0].bounds,
116 result[0].bounds,
160 result[0].bounds,