diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-06-10 16:46:01 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-06-10 16:46:01 +0200 |
| commit | 5611c26577c4cf6d52b9b66b7b1a32253aa23ec1 (patch) | |
| tree | b06a64845ef691700aed7fd0ed1e22dd064cc742 /tests/typ/library/basic.typ | |
| parent | bce553a991f19b2b5bb9efef6b74bd12e15a10c6 (diff) | |
Restructure tests
Diffstat (limited to 'tests/typ/library/basic.typ')
| -rw-r--r-- | tests/typ/library/basic.typ | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/typ/library/basic.typ b/tests/typ/library/basic.typ deleted file mode 100644 index a6aa71af..00000000 --- a/tests/typ/library/basic.typ +++ /dev/null @@ -1,25 +0,0 @@ -// Test basic functions. -// Ref: false - ---- -#test(type("hi"), "string") -#test(repr((1, 2, false, )), "(1, 2, false)") - ---- -// Check the output. -#test(rgb(0.0, 0.3, 0.7), #004db3) - -// Alpha channel. -#test(rgb(1.0, 0.0, 0.0, 0.5), #ff000080) - -// Warning: 2:11-2:14 should be between 0.0 and 1.0 -// Warning: 1:16-1:20 should be between 0.0 and 1.0 -#test(rgb(-30, 15.5, 0.5), #00ff80) - -// Error: 11-15 missing argument: blue component -#test(rgb(0, 1), #00ff00) - -// Error: 3:11-3:11 missing argument: red component -// Error: 2:11-2:11 missing argument: green component -// Error: 1:11-1:11 missing argument: blue component -#test(rgb(), black) |
