Module talk:SortName/testcases

From Wikipedia, the free encyclopedia
Jump to: navigation, search

All tests passed.

test_sortname:

Text Expected Actual
YesY {{#invoke:SortName|sortname|Jim Excelsior Tyler}} Tyler, Jim Excelsior Tyler, Jim Excelsior
YesY {{#invoke:SortName|sortname|Jim}} Jim Jim
YesY {{#invoke:SortName|sortname|List of people named Jim}} People named Jim People named Jim
YesY {{#invoke:SortName|sortname|List of jims}} Jims Jims
YesY {{#invoke:SortName|sortname|Jim Tyler (musician)}} Tyler, Jim Tyler, Jim
YesY {{#invoke:SortName|sortname|Jim Tyler, man and myth}} Tyler, Jim Tyler, Jim
YesY {{#invoke:SortName|sortname|Jim Tyler of Clan Tyler}} Tyler, Jim Tyler, Jim
YesY {{#invoke:SortName|sortname|Jim von Tyler}} von Tyler, Jim von Tyler, Jim
YesY {{#invoke:SortName|sortname|Jim Von Tyler}} Von Tyler, Jim Von Tyler, Jim
YesY {{#invoke:SortName|sortname|Jim Tyler III}} Tyler 3, Jim Tyler 3, Jim
YesY {{#invoke:SortName|sortname|Jim III}} Jim 3 Jim 3
YesY {{#invoke:SortName|sortname|Jim Tyler III, Emperor of New Brunswick}} Tyler 3, Jim Tyler 3, Jim