Add image render tests

Add tests that will match rendered words/paragraphs against reference
images.

Use env var `GENERATE_IMAGES` to write the initial reference images to
the repository.
This commit is contained in:
Dov Reshef 2023-09-24 00:13:31 +03:00
parent e2adc1e8da
commit 8db03fe3cf
16 changed files with 342 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
Cargo.lock
sample/udhr*
target
**/.DS_Store