Jump to content

Module talk:Interlinear/testcases

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 2 years ago by Eievie in topic test_find_gloss

8 of 12 tests failed. (refresh)

test_defaults

test_defaults
TestExpectedActual
X markN {{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_italics
TestExpectedActual
X markN {{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>

checkY {{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>

X markN {{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_glossing
TestExpectedActual
checkY {{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>

checkY {{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>

checkY {{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_find_gloss
TestExpectedActual
X markN {{Interlinear|glossing1=yes|test+test}} <span style="margin: 0px;">test+test</span> '"`UNIQ--templatestyles-00000009-QINU`"'<span style="margin: 0px;">test+test</span>
X markN {{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>
X markN {{Interlinear|glossing1=yes|test.test}} <span style="margin: 0px;">test.test</span> '"`UNIQ--templatestyles-0000000B-QINU`"'<span style="margin: 0px;">test.test</span>
X markN {{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>
X markN {{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墨

饜饜 饜饜饜 饜饜饜饜 饜饜饜 饜饜饜饜 饜饜饜 饜饜饜 饜饜饜饜饜饜饜 饜饜饜 饜饜饜饜 饜饜饜饜 饜饜饜饜饜

bn mlk tbnt mlk 峁nm dbr mlk 示拧mn士zr mlk 峁nm l示mr ngzlt

bin milk tabn墨t milk 峁D玠艒n墨m dabar milk 示猫拧m奴n士azar milk 峁D玠艒n墨m l墨示m艒r nagzalt墨

son of king Tabnit, king of the Sidonians, king Eshmunazar, king of the Sidonians, said as follows: I was carried away

Eievie (talk) 05:57, 27 January 2024 (UTC)Reply