Jump to content

Module talk:Easter/testcases

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

All 10 tests passed.

test_hello
Text Expected Actual
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|{{CURRENTYEAR}}}} 2024-03-31 2024-03-31
checkY {{#invoke:Easter/sandbox | Calculate|{{CURRENTYEAR}}|day=Easter|format=F j}} March 31 March 31
checkY {{#invoke:Easter/sandbox | Calculate|{{CURRENTYEAR}}|day=Easter|format=F j|method=Eastern}} May 5 May 5
checkY {{#invoke:Easter/sandbox | Calculate|{{CURRENTYEAR}}|method=Eastern}} 2024-05-05 2024-05-05

Start a discussion about improving the Module:Easter/testcases page

Start a discussion