Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module talk:Easter/testcases

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

All 20 tests passed.

tests

tests
TestExpectedActual
checkY {{#invoke:Easter/sandbox | Calculate| }} Incorrect argument 'year': ' ' Incorrect argument 'year': ' '
checkY {{#invoke:Easter/sandbox | Calculate|Foo}} Incorrect argument 'year': 'Foo' Incorrect argument 'year': 'Foo'
checkY {{#invoke:Easter/sandbox | Calculate|2001}} 2001-04-15 2001-04-15
checkY {{#invoke:Easter/sandbox | Calculate|2001|day=Easter|format=F j}} April 15 April 15
checkY {{#invoke:Easter/sandbox | Calculate|2001|day=Easter|format=F j|method=Eastern}} April 15 April 15
checkY {{#invoke:Easter/sandbox | Calculate|2001|method=Eastern}} 2001-04-15 2001-04-15
checkY {{#invoke:Easter/sandbox | Calculate|1581}} 1581-03-26 1581-03-26
checkY {{#invoke:Easter/sandbox | Calculate|1581|method=Julian}} 1581-03-26 1581-03-26
checkY {{#invoke:Easter/sandbox | Calculate|1581|method=Gregorian}} 1581-03-26 1581-03-26
checkY {{#invoke:Easter/sandbox | Calculate|1585|method=Julian}} 1585-04-11 1585-04-11
checkY {{#invoke:Easter/sandbox | Calculate|1585|method=Gregorian}} 1585-04-21 1585-04-21
checkY {{#invoke:Easter/sandbox | Calculate|1585|method=Eastern}} 1585-04-21 1585-04-21
checkY {{#invoke:Easter/sandbox | Calculate|1585|method=Revised}} Revised Julian Easter dates are available between years 1600 and 2600; year: 1585 Revised Julian Easter dates are available between years 1600 and 2600; year: 1585
checkY {{#invoke:Easter/sandbox | Calculate|200|method=Julian}} Easter dates are available between years 326 and 4099; year: 200 Easter dates are available between years 326 and 4099; year: 200
checkY {{#invoke:Easter/sandbox | Calculate|1066|method=Julian}} 1066-04-16 1066-04-16
checkY {{#invoke:Easter/sandbox | Calculate|1066|method=Gregorian}} 1066-04-16 1066-04-16
checkY {{#invoke:Easter/sandbox | Calculate|{{CURRENTYEAR}}}} 2026-04-05 2026-04-05
checkY {{#invoke:Easter/sandbox | Calculate|{{CURRENTYEAR}}|day=Easter|format=F j}} April 5 April 5
checkY {{#invoke:Easter/sandbox | Calculate|{{CURRENTYEAR}}|day=Easter|format=F j|method=Eastern}} April 12 April 12
checkY {{#invoke:Easter/sandbox | Calculate|{{CURRENTYEAR}}|method=Eastern}} 2026-04-12 2026-04-12