Lines Matching refs:getPattern
17 import {getPattern, TickGenerator, TickType} from './gridline_helper';
20 expect(getPattern(1n)).toEqual([1n, '|']);
21 expect(getPattern(2n)).toEqual([2n, '|:']);
22 expect(getPattern(3n)).toEqual([5n, '|....']);
23 expect(getPattern(4n)).toEqual([5n, '|....']);
24 expect(getPattern(5n)).toEqual([5n, '|....']);
25 expect(getPattern(7n)).toEqual([10n, '|....:....']);
27 expect(getPattern(10n)).toEqual([10n, '|....:....']);
28 expect(getPattern(20n)).toEqual([20n, '|.:.']);
29 expect(getPattern(50n)).toEqual([50n, '|....']);
31 expect(getPattern(100n)).toEqual([100n, '|....:....']);