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
400 B
11 lines
400 B
export const tests = [] |
|
const t = (f) => tests.push(f) |
|
|
|
t(() => dayOfTheYear(new Date('0001-01-01')) === 1) |
|
t(() => dayOfTheYear(new Date('1664-08-09')) === 222) |
|
t(() => dayOfTheYear(new Date('1600-12-31')) === 366) |
|
t(() => dayOfTheYear(new Date('2020-06-22')) === 174) |
|
t(() => dayOfTheYear(new Date('2048-12-08')) === 343) |
|
t(() => dayOfTheYear(new Date('2048-11-08')) === 313) |
|
|
|
Object.freeze(tests)
|
|
|