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.
11 lines
333 B
11 lines
333 B
4 years ago
|
export const tests = []
|
||
|
const t = (f) => tests.push(f)
|
||
|
|
||
|
t(({ eq }) => vowels.test('a') && !vowels.test('c'))
|
||
|
t(({ eq }) => eq(vowelDots('something'), 'so.me.thi.ng'))
|
||
|
t(({ eq }) => eq(vowelDots(''), ''))
|
||
|
t(({ eq }) => eq(vowelDots('rhythm'), 'rhythm'))
|
||
|
t(({ eq }) => eq(vowelDots('Algorithm'), 'A.lgo.ri.thm'))
|
||
|
|
||
|
Object.freeze(tests)
|