Lines Matching refs:expect
18 expect(getGridStepSize(10, 14)).toEqual(1);
19 expect(getGridStepSize(30, 14)).toEqual(2);
20 expect(getGridStepSize(60, 14)).toEqual(5);
21 expect(getGridStepSize(100, 14)).toEqual(10);
23 expect(getGridStepSize(10, 21)).toEqual(0.5);
24 expect(getGridStepSize(30, 21)).toEqual(2);
25 expect(getGridStepSize(60, 21)).toEqual(2);
26 expect(getGridStepSize(100, 21)).toEqual(5);
28 expect(getGridStepSize(10, 3)).toEqual(5);
29 expect(getGridStepSize(30, 3)).toEqual(10);
30 expect(getGridStepSize(60, 3)).toEqual(20);
31 expect(getGridStepSize(100, 3)).toEqual(50);
33 expect(getGridStepSize(800, 4)).toEqual(200);
37 expect(getGridStepSize(.01, 14)).toEqual(.001);
38 expect(getGridStepSize(10000, 14)).toEqual(1000);
44 expect(Math.round(i / stepSize)).toBeGreaterThanOrEqual(7);
45 expect(Math.round(i / stepSize)).toBeLessThanOrEqual(21);