Module:ISO 639 name/testcases explained

--[=[ Unit tests for [[Module:ISO 639 name]] error messages. This is not intended to test every possible thing thatcan make an error message; rather, it is to test the creation and rendering of the messages themselves.

Click talk page to run tests.

]=]

local p = require('Module:UnitTests')

----------------------------< I S O _ 6 3 9 >----------------------------------------------------------------

function p:test_iso_639 self:preprocess_equals_preprocess_many('', '', , )end

----------------------------< N A M E _ F R O M _ C O D E >--------------------------------------

cannot specify part

function p:test_name_from_code self:preprocess_equals_preprocess_many('', '', , )end

----------------------------< N A M E _ F R O M _ C O D E _ 1 >----------------------------------

function p:test_name_from_code_1 self:preprocess_equals_preprocess_many('', '', , )end

----------------------------< N A M E _ F R O M _ C O D E _ 2 >----------------------------------

function p:test_name_from_code_2 self:preprocess_equals_preprocess_many('', '', , )end

----------------------------< N A M E _ F R O M _ C O D E _ 2 B >--------------------------------

function p:test_name_from_code_2B self:preprocess_equals_preprocess_many('', '', , )end

----------------------------< N A M E _ F R O M _ C O D E _ 3 >----------------------------------

function p:test_name_from_code_3 self:preprocess_equals_preprocess_many('', '', , )end

----------------------------< N A M E _ F R O M _ C O D E _ 5 >----------------------------------

function p:test_name_from_code_5 self:preprocess_equals_preprocess_many('', '', , )end

----------------------------< C O D E _ F R O M _ N A M E >--------------------------------------

function p:test_code_from_name self:preprocess_equals_preprocess_many('', '', , )end

----------------------------< I S _ C O D E >----------------------------------------

function p:test_is_code self:preprocess_equals_preprocess_many('', '', , )end

return p