From f55d66d4b0189586817350817a6fc6fc8f5701c9 Mon Sep 17 00:00:00 2001 From: slashformotion Date: Wed, 19 Jun 2024 23:23:19 +0200 Subject: [PATCH] start infra tests --- tests/{ => debug}/debug.pdf | Bin 90248 -> 90205 bytes tests/{ => debug}/debug.typ | 46 +++++++++--------- tests/non-regression/only-one-empty-group.pdf | Bin 0 -> 22716 bytes tests/non-regression/only-one-empty-group.typ | 31 ++++++++++++ 4 files changed, 54 insertions(+), 23 deletions(-) rename tests/{ => debug}/debug.pdf (96%) rename tests/{ => debug}/debug.typ (93%) create mode 100644 tests/non-regression/only-one-empty-group.pdf create mode 100644 tests/non-regression/only-one-empty-group.typ diff --git a/tests/debug.pdf b/tests/debug/debug.pdf similarity index 96% rename from tests/debug.pdf rename to tests/debug/debug.pdf index 93c8f87752f940d15e5254d2026da91b95f3fe97..c448fb3d1ae332f8d6f39e61023b5dc7a7c210cb 100644 GIT binary patch delta 2583 zcmZ`*X;@U}74FBrhE)g%I;d;|T<*RMBg+f|BFn(A4zi67A{tRZ5Oo|PAk=CU1+FNu z6r~`M2N%qUB?ObIQLs{LAy%VA3f5FX(}bh~+6z2sGc(Qo_1*WJ^PcxC_xW!1Rl~3P z49mIz#y3G32&EVTXS2M4m{sz@Aq_~x9`pyMY=#f0(!wEMaL5RTFc_icVnwW>A2?!+ zKrn(c#5|&Y3DFewUmtUJTL8#*!XSjiX^xA42#Ul|9!XIU%`oWC9AktaOpm765G$}k^&;h~ z*u{v2YBJMi<6_B*ySr5pxp%F*#>C~KH0ysZdDl*eY%KDho_xA?4fHI1%kZ`?XHlZE zb*(&L>dptQ`%Pwwy{wmek@dE}-m+8{l!i}>YCOL5y0-p}t+LqONbtC>N7eK1gIikt z_WoWSB>NBwclIgYSJDxaA2~SNb%|0ncJ>=YZoVA)dDRfxVd`e^=GIDo7bm9R$rpV! z{r3&VJ!+PR$G9>j>!083&14z|93?;WObwucH!kMaPFLPId4IcC?qhSohn9s*a_z31 zhRZ(TuM0mGH2&p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T% zVUz?IPh({g;G#kaX_lhllmw7)lMHC1^Axkn^c>}kGCLQ}D?3QRVIEDv1}V^ogHqr* z9c*+55~0QS(2C~m*3YbsDcPhp^9}hrid|%w%rTmek54M>1YwFFdc*A3Y*Iigo5EL$^EM}?*jJNZ=ZcD YD^tYew^LB;2XvRvII3=JyxGnEztu8W9RL6T diff --git a/tests/debug.typ b/tests/debug/debug.typ similarity index 93% rename from tests/debug.typ rename to tests/debug/debug.typ index 3939975..5af1c57 100644 --- a/tests/debug.typ +++ b/tests/debug/debug.typ @@ -1,4 +1,4 @@ -#import "../themes/default.typ": * +#import "../../themes/default.typ": * #show: make-glossary #show link: set text(fill: red) @@ -18,7 +18,7 @@ short: "potato@A", plural: "potatoes@A", description: [#lorem(5)], - group: "A" + group: "A", ), ( key: "potato B", @@ -27,13 +27,13 @@ plural: "potatoes@B", longplural: "long potatoes@B", description: [#lorem(5)], - group: "B" + group: "B", ), ( key: "hidden potato", short: "hiddenpotato", group: "show-all test", - description: [This potato does not appear, unless `print-glossary` is called with `show-all: true`] + description: [This potato does not appear, unless `print-glossary` is called with `show-all: true`], ), ) #let entry-list-2 = ( @@ -44,7 +44,7 @@ plural: "potatoes@C", longplural: "long potatoes@C", description: [#lorem(5)], - group: "C" + group: "C", ), ( key: "potato D", @@ -52,7 +52,7 @@ long: "long potato@D", plural: "potatoes@D", description: [#lorem(5)], - group: "D" + group: "D", ), ( key: "potato E", @@ -60,7 +60,7 @@ long: "long potato@E", longplural: "long potatoes@E", description: [#lorem(5)], - group: "E" + group: "E", ), ( key: "potato F", @@ -68,7 +68,7 @@ long: "long potato@F", longplural: "long potatoes@F", description: [This potato should not appear in the document.], - group: "F" + group: "F", ), ) #let entry-list-3 = ( @@ -78,7 +78,7 @@ long: "long potato@G", longplural: "long potatoes@G", description: [This potato should appear in the document.], - group: "G" + group: "G", ), ) @@ -92,22 +92,22 @@ == entry-list-1 #entry-list-1 - + == entry-list-2 #entry-list-2 #colbreak() - + == #repr(__normalize_entry_list) n°0 #__normalize_entry_list(entry-list-0) - + == #repr(__normalize_entry_list) n°1 #__normalize_entry_list(entry-list-1) - + == #repr(__normalize_entry_list) n°2 - + #__normalize_entry_list(entry-list-2) ] @@ -128,21 +128,21 @@ First: #gls("potato") Display: #gls("potato", display: "potato text") Force long: #gls("potato", long: true) - + 1st ref. when long is empty defaults to short: #gls("potato A") - + Force long when empty defaults to short: #gls("potato A", long: true) 2nd ref.: #gls("potato A") 1st ref.: #gls("potato B") - + == #glspl First: #glspl("potato C") Force long: #glspl("potato", long: true) - + Force long when empty defaults to plural: #glspl("potato A", long: true) 2nd ref.: #glspl("potato A") @@ -177,7 +177,7 @@ Force long when empty defaults to plural: #glspl("potato A", long: true) == `gls-longplural.with(link: true)` -#gls-longplural.with(link:true)("potato B") +#gls-longplural.with(link: true)("potato B") == #gls-description @@ -191,7 +191,7 @@ Force long when empty defaults to plural: #glspl("potato A", long: true) #columns(2)[ == `#print-glossary.with(show-all: true, disable-back-references: true)` - + #print-glossary( entry-list-0, show-all: true, @@ -205,7 +205,7 @@ Force long when empty defaults to plural: #glspl("potato A", long: true) ) #colbreak() - + == #repr(print-glossary) (show-all: false) #print-glossary( @@ -213,7 +213,7 @@ Force long when empty defaults to plural: #glspl("potato A", long: true) show-all: false, disable-back-references: false, ) - + #print-glossary( entry-list-3, show-all: true, @@ -227,4 +227,4 @@ Force long when empty defaults to plural: #glspl("potato A", long: true) #default-print-reference.with(show-all: true)(entry-list-2.last()) -] \ No newline at end of file +] diff --git a/tests/non-regression/only-one-empty-group.pdf b/tests/non-regression/only-one-empty-group.pdf new file mode 100644 index 0000000000000000000000000000000000000000..963d100027f4ca68d673c7e702030c240a919be9 GIT binary patch literal 22716 zcmeFZby!@@(l3ex2oQoLkOUhD?gPx=5ZoPt1|Qtr-CY6%Cj<%Z7J>vPxDyCLgS$I- z242~Fe|vxDoco+}{<(LkH8a&+)m_zH-Sg0^){jD7Sd;Pu>qI?*7{~> zJUnOs0F$z-4Ftd>YHj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A>*F(OkWfmw`Ro&-); zPLrX2BSS$g(apso>k4A<#FIUSk>MyRm&>_x9=EC`DJBpIP&7-itP40?dVksw^RBf1 zKtVzA3IpsTffR~eYS!RMcqcX{5uaC@$!aOAG7+aF6HHO3;9G!wMaz}UJa<}m<5jrh zszT+(3~XeucFx4+gp>j<~OKJvLunQ?1s%0m;h5ezzI9AWVnKRwX13>Wc9Eh zRX$r{myk<^kh{5Pzl#a9vkb@7ao}?nDU%5cffLHz{r@3kVM0Q%UakezmU@W6S}lZN zBF=TInj#t@5pXT#xQHq-3YHe6N>hj{1*Lx$l$g%4R!o|MlpK=MK?;3u7@7k-iNs4X zV1^)YMZCYpNJ!|(HS2Ay^7?+gll8CP;BOKJ`jR}44YaeOH2|eCts7!GF8vQ-3u{3* z22GBPmKIKlx*h_2K^0bLDlVG~!s0mqODzE9g`l)B{PRjOGQ* zPCE^rQ1fHs15zC{wq-OxN-d``bYKCEWxz7KEW@(iay|x!8XX#fjaPJ{hhurDm&4MNLr+XI%a_k!EmX-oh$iba~Ci2wr%aE=%u zxJ@3A(3b=Eh^eYUV5dbsMqxBvoNCQSXxN;K9q(#l@hP12;f!kr_7j$6y!9sT;J+Z^ BQk4Jz literal 0 HcmV?d00001 diff --git a/tests/non-regression/only-one-empty-group.typ b/tests/non-regression/only-one-empty-group.typ new file mode 100644 index 0000000..48d0c46 --- /dev/null +++ b/tests/non-regression/only-one-empty-group.typ @@ -0,0 +1,31 @@ +#import "../../themes/default.typ": * +#show: make-glossary +#set page(numbering: "1") +#lorem(25) + +@key1:pl +#gls("key2") + +#lorem(45) + +#print-glossary( + ( + // ( + // key: "key", + // short: "111111", + // group: "vvv" + // ), + ( + key: "key2", + short: "222222", + // group: "vvv" + ), + + ( + key: "key1", + short: "111111", + // group: "voila", + ), + ), + show-all: true, +)