typst/tests
Laurenz cfcb36b159 Move test files into category subfolders 🚚 2021-01-14 16:47:29 +01:00
..
ref Move test files into category subfolders 🚚 2021-01-14 16:47:29 +01:00
res Compress images in PDFs ⚙ 2020-11-30 22:07:08 +01:00
typ Move test files into category subfolders 🚚 2021-01-14 16:47:29 +01:00
README.md Move test files into category subfolders 🚚 2021-01-14 16:47:29 +01:00
typeset.rs Move test files into category subfolders 🚚 2021-01-14 16:47:29 +01:00

README.md

Tests

  • typ: Input files.
  • ref: Reference images which the output is compared with to determine whether a test passed or failed. To keep things small, please run oxipng -o max tests/ref/<img> when creating or updating reference images (note that <img> can be * to optimize all images).
  • res: Resource files used by tests.
  • png: PNG files produced by tests.
  • pdf: PDF files produced by tests.

The test files are split into three categories:

  • full: Tests of full documents.
  • lang: Tests for specific language features.
  • library: Tests for specific library functions.