Testharness report for Datecalc.
This is the unit test report for Datecalc, which produces integrity checks and output for debugging Datecalc.
| Test suite status | |
|---|---|
| Scribunto test cases | |
| Code coverage |
Unit test report for Datecalc.
- Test members missing: none
- Test cases failing:
main - Execution time: 0.7ms
Scribunto test cases
| ||||
|---|---|---|---|---|
| Status | Code | Expected | Actual | Differs at |
{{#invoke:datecalc|main|diff|2012/11/20|2012/11/21}} | -1 | -1 | ||
{{#invoke:datecalc|main|diff|1916/09/03|2012/11/21}} | -35143 | -35143 | ||
{{#invoke:datecalc|main|diff|2012/11/21|1916/09/03}} | 35143 | 35143 | ||
{{#invoke:datecalc|main|diff|1916/09/03}} | -40089 | -40089 | ||
{{#invoke:datecalc|main|getday|2015/01/22}} | 22 | 22 | ||
{{#invoke:datecalc|main|isleapyear|1916/09/03}} | true | true | ||
{{#invoke:datecalc|main|isleapyear|1913}} | false | false | ||
{{#invoke:datecalc|main|epoch}} | Thu Jan 01 1970 00:00:00.000000000 | Thu Jan 01 1970 00:00:00.000000000 | ||
{{#invoke:datecalc|main|adddays|2012/11/20|5}} | Sun Nov 25 2012 00:00:00 | Sun Nov 25 2012 00:00:00.000000000 | 25 | |