Module:A or an/testcases explained

-- Unit tests for . Click talk page to run tests.local p = require('Module:UnitTests')

function p:test_all self:preprocess_equals("", "a .11") self:preprocess_equals("", "a -18") self:preprocess_equals("", "an $18 million") self:preprocess_equals("", "an 11") self:preprocess_equals("", "a 110") self:preprocess_equals("", "an 18,000") self:preprocess_equals("", "an 18") self:preprocess_equals("", "a 180,000") self:preprocess_equals("", "a 180") self:preprocess_equals("", "an 18000") self:preprocess_equals("", "a 180000") self:preprocess_equals("", "an 1800s") self:preprocess_equals("", "an 18th") self:preprocess_equals("", "an 8") self:preprocess_equals("", "an 800") self:preprocess_equals("", "an 85") self:preprocess_equals("", "an 8th") self:preprocess_equals("", "an EU") self:preprocess_equals("", "an Euler") self:preprocess_equals("", "a euphoria") self:preprocess_equals("", "a Europe") self:preprocess_equals("", "a Ewan") self:preprocess_equals("", "an FAQ") self:preprocess_equals("", "an FDA") self:preprocess_equals("", "a FIFA") self:preprocess_equals("", "an haute") self:preprocess_equals("", "an hauteur") self:preprocess_equals("", "an heir") self:preprocess_equals("", "a herb") self:preprocess_equals("", "a herbal") self:preprocess_equals("", "an herb") self:preprocess_equals("", "an herbal") self:preprocess_equals("", "an hombre") self:preprocess_equals("", "an honest") self:preprocess_equals("", "an honor") self:preprocess_equals("", "an honorary") self:preprocess_equals("", "an honorific") self:preprocess_equals("", "an honour") self:preprocess_equals("", "an honourable") self:preprocess_equals("", "an hour") self:preprocess_equals("", "an hourglass") self:preprocess_equals("", "an hourly") self:preprocess_equals("", "an HTML") self:preprocess_equals("", "a HTML") self:preprocess_equals("", "a led") self:preprocess_equals("", "an LED") self:preprocess_equals("", "an LGBT") self:preprocess_equals("", "an MBA") self:preprocess_equals("", "an NAACP") self:preprocess_equals("", "a NASA") self:preprocess_equals("", "a once") self:preprocess_equals("", "a one") self:preprocess_equals("", "a oneness") self:preprocess_equals("", "an onerous") self:preprocess_equals("", "a one's") self:preprocess_equals("", "a oneself") self:preprocess_equals("", "a one-sided") self:preprocess_equals("", "an RIA") self:preprocess_equals("", "an s.l.") self:preprocess_equals("", "an SOS") self:preprocess_equals("", "a U.S.") self:preprocess_equals("", "a UAE") self:preprocess_equals("", "a ubiquitous") self:preprocess_equals("", "a Uganda") self:preprocess_equals("", "a UK") self:preprocess_equals("", "a Ukraine") self:preprocess_equals("", "a Ukrainian") self:preprocess_equals("", "a ukulele") self:preprocess_equals("", "a UN") self:preprocess_equals("", "an unanimated") self:preprocess_equals("", "a unanimous") self:preprocess_equals("", "a UNESCO") self:preprocess_equals("", "a UNICEF") self:preprocess_equals("", "an unidentified") self:preprocess_equals("", "an unimaginable") self:preprocess_equals("", "an unimportant") self:preprocess_equals("", "an uninherited") self:preprocess_equals("", "an uninvolved") self:preprocess_equals("", "a unit") self:preprocess_equals("", "a United States") self:preprocess_equals("", "a universe") self:preprocess_equals("", "a university") self:preprocess_equals("", "a Unix") self:preprocess_equals("", "an UNRWA") self:preprocess_equals("", "an upsilon") self:preprocess_equals("", "a uranium") self:preprocess_equals("", "a Uranus") self:preprocess_equals("", "a urethra") self:preprocess_equals("", "a urinate") self:preprocess_equals("", "a urine") self:preprocess_equals("", "a Uruguay") self:preprocess_equals("", "a US") self:preprocess_equals("", "a USA") self:preprocess_equals("", "a usability") self:preprocess_equals("", "a usage") self:preprocess_equals("", "an USDAW") self:preprocess_equals("", "a use") self:preprocess_equals("", "a user-friendly") self:preprocess_equals("", "a usual") self:preprocess_equals("", "a usurp") self:preprocess_equals("", "a Utah") self:preprocess_equals("", "a utensil") self:preprocess_equals("", "a uteri") self:preprocess_equals("", "a uterus") self:preprocess_equals("", "a utilitarian") self:preprocess_equals("", "a utilized") self:preprocess_equals("", "a utopia") self:preprocess_equals("", "a Utrecht") self:preprocess_equals("", "a U-turn") self:preprocess_equals("", "a uvula") self:preprocess_equals("", "an X-ray") self:preprocess_equals("", "an ytterbium") self:preprocess_equals("", "an à la") self:preprocess_equals("", "a あ")end

return p