-- Example Unit tests for [[Module:IPA symbol]]. Click talk page to run tests.
local p = require('Module:UnitTests')
-- self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main|}}', '{{IPAsym|}}')
-- All input options currently in {{IPAsym}}. The number is the rownumber in that template
-- Due to size (1104 entries), the list had to be split up into parts
function p:test_a_IPAsym_list_row_865_870()
--These five rows moved here to prevent part 5 to fail (too big):
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| pʰ}}', '{{IPAsym| pʰ}}') -- 866
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| tʰ}}', '{{IPAsym| tʰ}}') -- 867
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| t̪ ʰ}}', '{{IPAsym| t̪ ʰ}}') -- 868
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ʈʰ}}', '{{IPAsym| ʈʰ}}') -- 869
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| kʰ}}', '{{IPAsym| kʰ}}') -- 870
end
function p:test_a_IPAsym_list_row_491_500()
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| q͡χ }}', '{{IPAsym| q͡χ }}') -- 491
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| kxʼ}}', '{{IPAsym| kxʼ}}') -- 492
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| k͜xʼ}}', '{{IPAsym| k͜xʼ}}') -- 493
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| k͡xʼ }}', '{{IPAsym| k͡xʼ }}') -- 494
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| q͡χʼ}}', '{{IPAsym| q͡χʼ}}') -- 495
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| qχʼ }}', '{{IPAsym| qχʼ }}') -- 496
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ɡɣ}}', '{{IPAsym| ɡɣ}}') -- 497
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ɡ͡ɣ }}', '{{IPAsym| ɡ͡ɣ }}') -- 498
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ɢʁ}}', '{{IPAsym| ɢʁ}}') -- 499
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ɢ͡ʁ }}', '{{IPAsym| ɢ͡ʁ }}') -- 500
end
function p:test_IPAsym_list()
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ◌ˀ}}', '{{IPAsym| ◌ˀ}}') -- 1041
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ˀ }}', '{{IPAsym| ˀ }}') -- 1042
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ɹ̝}}', '{{IPAsym| ɹ̝}}') -- 1043
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ̝ }}', '{{IPAsym| ̝ }}') -- 1044
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ˔ }}', '{{IPAsym| ˔ }}') -- 1045
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| e̝}}', '{{IPAsym| e̝}}') -- 1046
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| e̞ }}', '{{IPAsym| e̞ }}') -- 1047
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| β̞}}', '{{IPAsym| β̞}}') -- 1048
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ̞ }}', '{{IPAsym| ̞ }}') -- 1049
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ˕ }}', '{{IPAsym| ˕ }}') -- 1050
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 429 }}', '{{IPAsym| 429 }}') -- 1051
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 430}}', '{{IPAsym| 430}}') -- 1052
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ŋ̍}}', '{{IPAsym| ŋ̍}}') -- 1053
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ŋ̩}}', '{{IPAsym| ŋ̩}}') -- 1054
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| n̩}}', '{{IPAsym| n̩}}') -- 1055
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| m̩}}', '{{IPAsym| m̩}}') -- 1056
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| r̩}}', '{{IPAsym| r̩}}') -- 1057
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ɹ̩}}', '{{IPAsym| ɹ̩}}') -- 1058
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| l̩}}', '{{IPAsym| l̩}}') -- 1059
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ◌̩}}', '{{IPAsym| ◌̩}}') -- 1060
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ̩}}', '{{IPAsym| ̩}}') -- 1061
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 431 }}', '{{IPAsym| 431 }}') -- 1062
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| . }}', '{{IPAsym| . }}') -- 1063
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| u̯}}', '{{IPAsym| u̯}}') -- 1064
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| i̯}}', '{{IPAsym| i̯}}') -- 1065
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| y̯}}', '{{IPAsym| y̯}}') -- 1066
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ʊ̯}}', '{{IPAsym| ʊ̯}}') -- 1067
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ɪ̯}}', '{{IPAsym| ɪ̯}}') -- 1068
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ʏ̯}}', '{{IPAsym| ʏ̯}}') -- 1069
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| e̯}}', '{{IPAsym| e̯}}') -- 1070
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| o̯}}', '{{IPAsym| o̯}}') -- 1071
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ◌̯}}', '{{IPAsym| ◌̯}}') -- 1072
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ̯}}', '{{IPAsym| ̯}}') -- 1073
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 432 }}', '{{IPAsym| 432 }}') -- 1074
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| aʊ}}', '{{IPAsym| aʊ}}') -- 1075
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| aɪ}}', '{{IPAsym| aɪ}}') -- 1076
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ɔɪ}}', '{{IPAsym| ɔɪ}}') -- 1077
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| oʊ}}', '{{IPAsym| oʊ}}') -- 1078
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| eɪ }}', '{{IPAsym| eɪ }}') -- 1079
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ᶣ }}', '{{IPAsym| ᶣ }}') -- 1080
-- SUPRASEGMENTALS
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 501}}', '{{IPAsym| 501}}') -- 1082
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ˈ }}', '{{IPAsym| ˈ }}') -- 1083
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 502}}', '{{IPAsym| 502}}') -- 1084
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ˌ }}', '{{IPAsym| ˌ }}') -- 1085
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 503}}', '{{IPAsym| 503}}') -- 1086
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 504}}', '{{IPAsym| 504}}') -- 1087
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ˑ}}', '{{IPAsym| ˑ}}') -- 1088
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ː }}', '{{IPAsym| ː }}') -- 1089
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 505}}', '{{IPAsym| 505}}') -- 1090
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ̆}}', '{{IPAsym| ̆}}') -- 1091
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ə̆ }}', '{{IPAsym| ə̆ }}') -- 1092
-- TONE LETTERS
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 519}}', '{{IPAsym| 519}}') -- 1094
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 523}}', '{{IPAsym| 523}}') -- 1095
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ˩}}', '{{IPAsym| ˩}}') -- 1096
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ˨}}', '{{IPAsym| ˨}}') -- 1097
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ˧}}', '{{IPAsym| ˧}}') -- 1098
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ˦}}', '{{IPAsym| ˦}}') -- 1099
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ˥ }}', '{{IPAsym| ˥ }}') -- 1100
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 517}}', '{{IPAsym| 517}}') -- 1101
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ꜜ◌}}', '{{IPAsym| ꜜ◌}}') -- 1102
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ꜜ }}', '{{IPAsym| ꜜ }}') -- 1103
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 518}}', '{{IPAsym| 518}}') -- 1104
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ꜛ◌}}', '{{IPAsym| ꜛ◌}}') -- 1105
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ꜛ }}', '{{IPAsym| ꜛ }}') -- 1106
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ∅ }}', '{{IPAsym| ∅ }}') -- 1107
-- EXTENDED IPA
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 601 }}', '{{IPAsym| 601 }}') -- 1109
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 602 }}', '{{IPAsym| 602 }}') -- 1110
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 603 }}', '{{IPAsym| 603 }}') -- 1111
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 604 }}', '{{IPAsym| 604 }}') -- 1112
-- INDETERMINACY symbols
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 611}}', '{{IPAsym| 611}}') -- 1114
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 612}}', '{{IPAsym| 612}}') -- 1115
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| * }}', '{{IPAsym| * }}') -- 1116
-- TRANSCRIPTION
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 901}}', '{{IPAsym| 901}}') -- 1118
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| [}}', '{{IPAsym| [}}') -- 1119
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 902}}', '{{IPAsym| 902}}') -- 1120
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ]}}', '{{IPAsym| ]}}') -- 1121
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 903}}', '{{IPAsym| 903}}') -- 1122
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| /}}', '{{IPAsym| /}}') -- 1123
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 906}}', '{{IPAsym| 906}}') -- 1124
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| (}}', '{{IPAsym| (}}') -- 1125
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| 907}}', '{{IPAsym| 907}}') -- 1126
self:preprocess_equals_preprocess('{{#invoke:IPA symbol/sandbox|main| ) }}', '{{IPAsym| ) }}') -- 1127
end
return p