Jump to content

Module talk:Marriage/testcases

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

Test Results

[edit]

All 20 tests passed.

tests
Text Expected Actual
checkY {{#invoke:Marriage | main | Name | 1910 | 1950 | end=divorced }} Name (m. 1910; div. 1950) Name (m. 1910; div. 1950)
checkY {{#invoke:Marriage | main | | 1910 | 1950 | end=divorced}} (m. 1910; div. 1950) (m. 1910; div. 1950)
checkY {{#invoke:Marriage | main | Name | | 1950 | end=divorced}} Name (div. 1950) Name (div. 1950)
checkY {{#invoke:Marriage | main | Name | 1910 | | end=}} Name (m. 1910) Name (m. 1910)
checkY {{#invoke:Marriage | main | Name | 1910 | 1950 | }} Name (m. 1910–1950) Name (m. 1910–1950)
checkY {{#invoke:Marriage | main | Name | 1910 | | end=divorced}} Name (m. 1910; div.) Name (m. 1910; div.)
checkY {{#invoke:Marriage | main | | 1910 }} (m. 1910) (m. 1910)
checkY {{#invoke:Marriage | main | | | | }}
checkY {{#invoke:Marriage | main | Name | 1910 | 1950 | end }} Name (m. 1910–1950) Name (m. 1910–1950)
checkY {{#invoke:Marriage | main | Name | 1910 | 1950 | reason }} Name (m. 1910–1950) Name (m. 1910–1950)
checkY {{#invoke:Marriage | main | Name | | | reason=divorced }} Name (div.) Name (div.)
checkY {{#invoke:Marriage | main | | | | reason=divorced }} (div.) (div.)
checkY {{#invoke:Marriage | main | Name | 1910 | 1950 | end=died }} Name (m. 1910; died 1950) Name (m. 1910; died 1950)
checkY {{#invoke:Marriage | main | | 1910 | 1950 | end=died}} (m. 1910; died 1950) (m. 1910; died 1950)
checkY {{#invoke:Marriage | main | Name | | 1950 | end=died}} Name (died 1950) Name (died 1950)
checkY {{#invoke:Marriage | main | Name | | 1950 | end=d.}} Name (died 1950) Name (died 1950)
checkY {{#invoke:Marriage | main | Name | | 1950 | end=d}} Name (died 1950) Name (died 1950)
checkY {{#invoke:Marriage | main | Name | 1910 | | end=}} Name (m. 1910) Name (m. 1910)
checkY {{#invoke:Marriage | main | Name | 1910 | | end=separated}} Name (m. 1910; sep.) Name (m. 1910; sep.)
checkY {{#invoke:Marriage | main | | | | reason=annulled}} (ann.) (ann.)