From 020294fca9a7065d4b9cf4e677f606ebaaa29b00 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 13 Apr 2024 10:39:45 +0200 Subject: Better test runner (#3922) --- tests/typ/layout/hide.typ | 76 ----------------------------------------------- 1 file changed, 76 deletions(-) delete mode 100644 tests/typ/layout/hide.typ (limited to 'tests/typ/layout/hide.typ') diff --git a/tests/typ/layout/hide.typ b/tests/typ/layout/hide.typ deleted file mode 100644 index ede65c70..00000000 --- a/tests/typ/layout/hide.typ +++ /dev/null @@ -1,76 +0,0 @@ -// Test the `hide` function. - ---- -AB #h(1fr) CD \ -#hide[A]B #h(1fr) C#hide[D] ---- -Hidden: -#hide[#line(length: 100%)] -#line(length: 100%) ---- -Hidden: -#hide(table(rows: 2, columns: 2)[a][b][c][d]) -#table(rows: 2, columns: 2)[a][b][c][d] ---- -Hidden: -#hide[ - #polygon((20%, 0pt), - (60%, 0pt), - (80%, 2cm), - (0%, 2cm),) -] -#polygon((20%, 0pt), - (60%, 0pt), - (80%, 2cm), - (0%, 2cm),) ---- -#set rect( - inset: 8pt, - fill: rgb("e4e5ea"), - width: 100%, -) - -Hidden: -#hide[ -#grid( - columns: (1fr, 1fr, 2fr), - rows: (auto, 40pt), - gutter: 3pt, - rect[A], - rect[B], - rect[C], - rect(height: 100%)[D], -) -] -#grid( - columns: (1fr, 1fr, 2fr), - rows: (auto, 40pt), - gutter: 3pt, - rect[A], - rect[B], - rect[C], - rect(height: 100%)[D], -) ---- - -Hidden: -#hide[ -- 1 -- 2 - 1. A - 2. B -- 3 -] - - -- 1 -- 2 - 1. A - 2. B -- 3 - ---- -Hidden: -#hide(image("/assets/images/tiger.jpg", width: 5cm, height: 1cm,)) - -#image("/assets/images/tiger.jpg", width: 5cm, height: 1cm,) -- cgit v1.2.3