Jump to content

Module talk:CountryAdjectiveDemonym/testcases

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

All 16 tests passed.

test_country_from_string
Text Expected Actual
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|French elections}} France France
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|Elections in France}} France France
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|Czechoslovak elections}} Czechoslovakia Czechoslovakia
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|1999 in Czechoslovakia}} Czechoslovakia Czechoslovakia
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|Czech elections}} Czech Republic Czech Republic
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|1999 in the Democratic Republic of the Congo}} Democratic Republic of the Congo Democratic Republic of the Congo
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|1999 in the Republic of the Congo}} Republic of the Congo Republic of the Congo
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|1999 in the Netherlands Antilles}} Netherlands Antilles Netherlands Antilles
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|1999 in the Netherlands}} Netherlands Netherlands
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|1999 in Nigeria}} Nigeria Nigeria
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|1999 in Niger}} Niger Niger
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|1999 in Saba}} Saba Saba
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|1999 in Sabah}}
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|1999 in Serbia}} Serbia Serbia
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|1999 in Montenegro}} Montenegro Montenegro
checkY {{#invoke:CountryAdjectiveDemonym|getCountryFromString|1999 in Serbia and Montenegro}} Serbia and Montenegro Serbia and Montenegro

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

Start a discussion