mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
475 B
13 lines
475 B
export const tests = [] |
|
const t = (f) => tests.push(f) |
|
|
|
t(({ eq }) => |
|
eq(letterSpaceNumber('He is 8 or 9 years old, not 10.'), ['s 8', 'r 9']), |
|
) |
|
t(({ eq }) => eq(letterSpaceNumber('I like 7up.'), [])) |
|
t(({ eq }) => eq(letterSpaceNumber("It's 20 past 3"), ['t 3'])) |
|
t(({ eq }) => eq(letterSpaceNumber('example 1, example 2'), ['e 1', 'e 2'])) |
|
t(({ eq }) => eq(letterSpaceNumber(''), [])) |
|
t(({ eq }) => eq(letterSpaceNumber('Definitely 9.'), ['y 9'])) |
|
|
|
Object.freeze(tests)
|
|
|