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
3
tests/images/a_hebrew_paragraph.png
Normal file
3
tests/images/a_hebrew_paragraph.png
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e0350ffaa09ac5b9976b0441cfb0fab0db0b13e3a2d33260592e113c347bedfe
|
||||
size 23202
|
||||
3
tests/images/a_hebrew_word.png
Normal file
3
tests/images/a_hebrew_word.png
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:95bbe8f4db74914f6a124547f024463a3e434b3c7be3f86c1464af71ed39bba0
|
||||
size 3512
|
||||
3
tests/images/an_arabic_paragraph.png
Normal file
3
tests/images/an_arabic_paragraph.png
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eb6966eec660c39584f11d353940f6a274eb90125c8b58fabf3c3e5066a5e1e4
|
||||
size 24322
|
||||
3
tests/images/an_arabic_word.png
Normal file
3
tests/images/an_arabic_word.png
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ba0219c8e226f4bd79e0681a3189013ed035459fd3ed90405ec53d595e70ab81
|
||||
size 3851
|
||||
3
tests/images/some_english_mixed_with_arabic.png
Normal file
3
tests/images/some_english_mixed_with_arabic.png
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ffbac330d91e73d8e28a2a83010e7f231bff6abfc9d9eda8720cb339c587084e
|
||||
size 23093
|
||||
3
tests/images/some_english_mixed_with_hebrew.png
Normal file
3
tests/images/some_english_mixed_with_hebrew.png
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:29fa23360829f2c11b960343b716eda01a069f6256a09b4eeb30d010abf7977f
|
||||
size 57340
|
||||
Loading…
Add table
Add a link
Reference in a new issue