Module:vi/testcases/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Module:vi/testcases. [edit]
This page contains usage information, categories, interwiki links and other content describing the module.

All tests passed. (refresh)

TextExpectedActual
test_comp:
Passed(sorting){"Ả Rập", "Á Châu", "an ninh", "ánh sáng", "ăn", "bóng đá", "bóng rổ"}{"Ả Rập", "Á Châu", "an ninh", "ánh sáng", "ăn", "bóng đá", "bóng rổ"}
Passed(sorting){"bọ mắt", "chí lý", "ly lông", "tháng trời", "vi lượng đồng căn"}{"bọ mắt", "chí lý", "ly lông", "tháng trời", "vi lượng đồng căn"}
Passed(sorting){"bọ mắt", "chí lý", "đá", "ly lông", "tháng trời", "vi lượng đồng căn"}{"bọ mắt", "chí lý", "đá", "ly lông", "tháng trời", "vi lượng đồng căn"}
TextExpectedActual
test_removeDiacritics:
Passed{{#invoke:vi|removeDiacritics|thay đổi gần đây}}thay doi gan daythay doi gan day
Passed{{#invoke:vi|removeDiacritics|thay đổi gần đây|tones=0}}thay dỏi gàn daythay dỏi gàn day
Passed{{#invoke:vi|removeDiacritics|thay đổi gần đây|accents=0}}thay dôi gân dâythay dôi gân dây
Passed{{#invoke:vi|removeDiacritics|thay đổi gần đây|đ=0}}thay đoi gan đaythay đoi gan đay
Passed{{#invoke:vi|removeDiacritics|thay đổi gần đây|tones=1|accents=1|đ=1}}thay doi gan daythay doi gan day
Passed{{#invoke:vi|removeDiacritics|thay đổi gần đây|tones=0|accents=0|đ=0}}thay đổi gần đâythay đổi gần đây
TextExpectedActual
test_shiftTones:
Passedxóa to reformed tonesxoáxoá
Passedcúi to reformed tonescúicúi
Passedxoá to traditional tonesxóaxóa
Passedquỹ to traditional tonesquỹquỹ