forked from typst/typst
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move full/lang/library to the top-level as that's more ergonomic to use.
- Loading branch information
1 parent
51efb0f
commit cc5f141
Showing
44 changed files
with
24 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
# Tests | ||
|
||
Directory structure: | ||
Top level directory structure: | ||
- `full`: Tests of full documents. | ||
- `lang`: Tests for specific language features. | ||
- `library`: Tests for specific library functions. | ||
- `res`: Resource files used by tests. | ||
|
||
Directory structure for each category: | ||
- `typ`: Input files. | ||
- `ref`: Reference images which the output is compared with to determine whether | ||
a test passed or failed. | ||
- `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. | ||
|
||
To keep things small, please optimize the reference images: | ||
```bash | ||
# One image | ||
oxipng -o max tests/ref/image.png | ||
oxipng -o max path/to/image.png | ||
|
||
# All images | ||
oxipng -r -o max tests/ref/* | ||
oxipng -r -o max tests/*/ref | ||
``` |
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters