1 |
|
2 | import { range } from './swuquery-range';
|
3 |
|
4 | it('should return a range for min and max of symbols', () => {
|
5 | expect(range('', '')).toBe('\uD8C0[\uDC01-\uDDE1]');
|
6 | })
|
7 |
|
8 | it('should return a range for min and max of numbers', () => {
|
9 | expect(range('𝣔', '𝤸')).toBe('\uD836[\uDCD4-\uDD38]');
|
10 | })
|