Module talk:Interlinear/testcases
Add topicAppearance
Latest comment: 2 years ago by Eievie in topic test_find_gloss
8 of 12 tests failed. (refresh)
test_defaults
| Test | Expected | Actual | |
|---|---|---|---|
| {{interlinear|lang=jig|Nginda-rni ngaja-mi jurliji-rdarra diyim ka-rdu|DEM(M)-FOC see-IRR bird-PL fly 3SG-go|'Look at all the birds flying!'}} | '"`UNIQ--templatestyles-00000001-QINU`"'<div class="interlinear"><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p lang="jig" style="margin: 0px;font-style: italic;font-style: italic;">Nginda-rni</p><p style="margin: 0px;"><abbr class="gloss-abbr" title="demonstrative" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">DEM</abbr>(<abbr class="gloss-abbr" title="masculine gender" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">M</abbr>)-<abbr class="gloss-abbr" title="focus" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">FOC</abbr></p></div><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p lang="jig" style="margin: 0px;font-style: italic;font-style: italic;">ngaja-mi</p><p style="margin: 0px;">see-<abbr class="gloss-abbr" title="irrealis mood" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">IRR</abbr></p></div><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p lang="jig" style="margin: 0px;font-style: italic;font-style: italic;">jurliji-rdarra</p><p style="margin: 0px;">bird-<abbr class="gloss-abbr" title="plural number" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">PL</abbr></p></div><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p lang="jig" style="margin: 0px;font-style: italic;font-style: italic;">diyim</p><p style="margin: 0px;">fly</p></div><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p lang="jig" style="margin: 0px;font-style: italic;font-style: italic;">ka-rdu</p><p style="margin: 0px;"><abbr class="gloss-abbr" title="third person, singular" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">3SG</abbr>-go</p></div><p style="display: none;">Nginda-rni ngaja-mi jurliji-rdarra diyim ka-rdu</p><p style="display: none;">DEM(M)-FOC see-IRR bird-PL fly 3SG-go</p><p style="clear: left;">'Look at all the birds flying!'</p><div style="clear: left; display: block;"></div>
</div> |
'"`UNIQ--templatestyles-00000000-QINU`"'<div class="interlinear"><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p lang="jig" style="margin: 0px;font-style: italic;">Nginda-rni</p><p style="margin: 0px;"><abbr class="gloss-abbr" title="demonstrative" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">DEM</abbr>(<abbr class="gloss-abbr" title="masculine gender" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">M</abbr>)-<abbr class="gloss-abbr" title="focus" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">FOC</abbr></p></div><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p lang="jig" style="margin: 0px;font-style: italic;">ngaja-mi</p><p style="margin: 0px;">see-<abbr class="gloss-abbr" title="irrealis mood" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">IRR</abbr></p></div><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p lang="jig" style="margin: 0px;font-style: italic;">jurliji-rdarra</p><p style="margin: 0px;">bird-<abbr class="gloss-abbr" title="plural number" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">PL</abbr></p></div><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p lang="jig" style="margin: 0px;font-style: italic;">diyim</p><p style="margin: 0px;">fly</p></div><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p lang="jig" style="margin: 0px;font-style: italic;">ka-rdu</p><p style="margin: 0px;"><abbr class="gloss-abbr" title="third person, singular" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">3SG</abbr>-go</p></div><p style="display: none;">Nginda-rni ngaja-mi jurliji-rdarra diyim ka-rdu</p><p style="display: none;">DEM(M)-FOC see-IRR bird-PL fly 3SG-go</p><p style="clear: left;">'Look at all the birds flying!'</p><div style="clear: left; display: block;"></div>
</div> |
test_italics
| Test | Expected | Actual | |
|---|---|---|---|
| {{interlinear|{Line 1}|{Line 2}|Line 3}} | '"`UNIQ--templatestyles-00000003-QINU`"'<div class="interlinear"><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p style="margin: 0px;font-style: italic;font-style: italic;">Line 1</p><p style="margin: 0px;">Line <abbr class="gloss-abbr" title="second person" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">2</abbr></p></div><p style="display: none;">{Line 1}</p><p style="display: none;">{Line 2}</p><p style="clear: left;">Line 3</p><div style="clear: left; display: block;"></div>
</div> |
'"`UNIQ--templatestyles-00000002-QINU`"'<div class="interlinear"><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p style="margin: 0px;font-style: italic;">Line 1</p><p style="margin: 0px;">Line <abbr class="gloss-abbr" title="second person" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">2</abbr></p></div><p style="display: none;">{Line 1}</p><p style="display: none;">{Line 2}</p><p style="clear: left;">Line 3</p><div style="clear: left; display: block;"></div>
</div> | |
| {{interlinear|{Line 1}|{Line 2}|Line 3}} | '"`UNIQ--templatestyles-00000004-QINU`"'<div class="interlinear"><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p style="margin: 0px;font-style: italic;">Line 1</p><p style="margin: 0px;">Line <abbr class="gloss-abbr" title="second person" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">2</abbr></p></div><p style="display: none;">{Line 1}</p><p style="display: none;">{Line 2}</p><p style="clear: left;">Line 3</p><div style="clear: left; display: block;"></div>
</div> |
'"`UNIQ--templatestyles-00000002-QINU`"'<div class="interlinear"><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p style="margin: 0px;font-style: italic;">Line 1</p><p style="margin: 0px;">Line <abbr class="gloss-abbr" title="second person" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">2</abbr></p></div><p style="display: none;">{Line 1}</p><p style="display: none;">{Line 2}</p><p style="clear: left;">Line 3</p><div style="clear: left; display: block;"></div>
</div> | |
| {{interlinear|{Line 1}|{Line 2}|Line 3}} | '"`UNIQ--templatestyles-00000005-QINU`"'<div class="interlinear"><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p style="margin: 0px;font-style: italic;font-style: italic;">Line 1</p><p style="margin: 0px;">Line <abbr class="gloss-abbr" title="second person" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">2</abbr></p></div><p style="display: none;">{Line 1}</p><p style="display: none;">{Line 2}</p><p style="clear: left;">Line 3</p><div style="clear: left; display: block;"></div>
</div> |
'"`UNIQ--templatestyles-00000002-QINU`"'<div class="interlinear"><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p style="margin: 0px;font-style: italic;">Line 1</p><p style="margin: 0px;">Line <abbr class="gloss-abbr" title="second person" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">2</abbr></p></div><p style="display: none;">{Line 1}</p><p style="display: none;">{Line 2}</p><p style="clear: left;">Line 3</p><div style="clear: left; display: block;"></div>
</div> |
test_glossing
| Test | Expected | Actual | |
|---|---|---|---|
| {{interlinear|{Line 1}|{Line 2}|Line 3}} | '"`UNIQ--templatestyles-00000006-QINU`"'<div class="interlinear"><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p style="margin: 0px;font-style: italic;">Line 1</p><p style="margin: 0px;">Line <abbr class="gloss-abbr" title="second person" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">2</abbr></p></div><p style="display: none;">{Line 1}</p><p style="display: none;">{Line 2}</p><p style="clear: left;">Line 3</p><div style="clear: left; display: block;"></div>
</div> |
'"`UNIQ--templatestyles-00000002-QINU`"'<div class="interlinear"><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p style="margin: 0px;font-style: italic;">Line 1</p><p style="margin: 0px;">Line <abbr class="gloss-abbr" title="second person" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">2</abbr></p></div><p style="display: none;">{Line 1}</p><p style="display: none;">{Line 2}</p><p style="clear: left;">Line 3</p><div style="clear: left; display: block;"></div>
</div> | |
| {{interlinear|{Line 1}|{Line 2}|Line 3}} | '"`UNIQ--templatestyles-00000007-QINU`"'<div class="interlinear"><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p style="margin: 0px;font-style: italic;">Line 1</p><p style="margin: 0px;">Line <abbr class="gloss-abbr" title="second person" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">2</abbr></p></div><p style="display: none;">{Line 1}</p><p style="display: none;">{Line 2}</p><p style="clear: left;">Line 3</p><div style="clear: left; display: block;"></div>
</div> |
'"`UNIQ--templatestyles-00000002-QINU`"'<div class="interlinear"><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p style="margin: 0px;font-style: italic;">Line 1</p><p style="margin: 0px;">Line <abbr class="gloss-abbr" title="second person" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">2</abbr></p></div><p style="display: none;">{Line 1}</p><p style="display: none;">{Line 2}</p><p style="clear: left;">Line 3</p><div style="clear: left; display: block;"></div>
</div> | |
| {{interlinear|{Line 1}|{Line 2}|Line 3}} | '"`UNIQ--templatestyles-00000008-QINU`"'<div class="interlinear"><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p style="margin: 0px;font-style: italic;">Line 1</p><p style="margin: 0px;">Line <abbr class="gloss-abbr" title="second person" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">2</abbr></p></div><p style="display: none;">{Line 1}</p><p style="display: none;">{Line 2}</p><p style="clear: left;">Line 3</p><div style="clear: left; display: block;"></div>
</div> |
'"`UNIQ--templatestyles-00000002-QINU`"'<div class="interlinear"><div style="float: left; margin-bottom: 0.3em;margin-right: 1em;"><p style="margin: 0px;font-style: italic;">Line 1</p><p style="margin: 0px;">Line <abbr class="gloss-abbr" title="second person" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">2</abbr></p></div><p style="display: none;">{Line 1}</p><p style="display: none;">{Line 2}</p><p style="clear: left;">Line 3</p><div style="clear: left; display: block;"></div>
</div> |
test_find_gloss
| Test | Expected | Actual | |
|---|---|---|---|
| {{Interlinear|glossing1=yes|test+test}} | <span style="margin: 0px;">test+test</span> | '"`UNIQ--templatestyles-00000009-QINU`"'<span style="margin: 0px;">test+test</span> | |
| {{Interlinear|glossing1=yes|test+PRES}} | <span style="margin: 0px;">test+<abbr class="gloss-abbr" title="present tense" style="font-variant: small-caps; font-variant-numeric: oldstyle-nums; text-transform: lowercase; ">PRES</abbr></span> | '"`UNIQ--templatestyles-0000000A-QINU`"'<span style="margin: 0px;">test+<abbr class="gloss-abbr" title="present tense" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">PRES</abbr></span> | |
| {{Interlinear|glossing1=yes|test.test}} | <span style="margin: 0px;">test.test</span> | '"`UNIQ--templatestyles-0000000B-QINU`"'<span style="margin: 0px;">test.test</span> | |
| {{Interlinear|glossing1=yes|test.PRES}} | <span style="margin: 0px;">test.<abbr class="gloss-abbr" title="present tense" style="font-variant: small-caps; font-variant-numeric: oldstyle-nums; text-transform: lowercase; ">PRES</abbr></span> | '"`UNIQ--templatestyles-0000000C-QINU`"'<span style="margin: 0px;">test.<abbr class="gloss-abbr" title="present tense" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">PRES</abbr></span> | |
| {{Interlinear|glossing1=yes|test.PRES<ref name="test">test</ref>}} | <span style="margin: 0px;">test.<abbr class="gloss-abbr" title="present tense" style="font-variant: small-caps; font-variant-numeric: oldstyle-nums; text-transform: lowercase; ">PRES</abbr>'"`UNIQ--ref-00000000-QINU`"'</span> | '"`UNIQ--templatestyles-0000000D-QINU`"'<span style="margin: 0px;">test.<abbr class="gloss-abbr" title="present tense" style="font-variant: small-caps; font-variant-numeric: lining-nums; text-transform: lowercase; ">PRES</abbr>'"`UNIQ--ref-0000000E-QINU`"'</span> |
2.
饜饜
bn
bin
饜饜饜
mlk
milk
饜饜饜饜
tbnt
tabn墨t
饜饜饜
mlk
milk
饜饜饜饜
峁nm
峁D玠艒n墨m
饜饜饜
dbr
dabar
饜饜饜
mlk
milk
饜饜饜饜饜饜饜
示拧mn士zr
示猫拧m奴n士azar
饜饜饜
mlk
milk
饜饜饜饜
峁nm
峁D玠艒n墨m
饜饜饜饜
l示mr
l墨示m艒r
饜饜饜饜饜
ngzlt
nagzalt墨
son of king Tabnit, king of the Sidonians, king Eshmunazar, king of the Sidonians, said as follows: I was carried away