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:
parent
e2adc1e8da
commit
8db03fe3cf
16 changed files with 342 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ harness = false
|
|||
members = ["examples/*"]
|
||||
|
||||
[dev-dependencies]
|
||||
tiny-skia = "0.11"
|
||||
criterion = { version = "0.5.1", default-features = false, features = [
|
||||
"cargo_bench_support",
|
||||
] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue