summaryrefslogtreecommitdiff
path: root/pango/pango-color-table.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2021-11-12 03:14:34 +0100
committerBenjamin Otte <otte@redhat.com>2021-11-16 15:10:31 +0100
commitc6e7cda106cc149912dafefc5c43a26ed3d67204 (patch)
tree5a16a8db2147a96c4b4ddfdefbe2f6aa7784b79d /pango/pango-color-table.h
parent9f82d3e4a6d4a628f306301fa8461810ba0446f6 (diff)
downloadpango-wip/otte/testrandom.tar.gz
tests: Add spiced up wrapping testswip/otte/testrandom
* Generate random string that looks like a sentence. * Measure the size at 100 random widths. * assert that for those widths, when sorted, the measured widths are increasing and the heights are decreasing. * Generate random string that looks like a sentence. * Generate a 2nd string adding hyphen + newline after every char of original string. * Assert that wrap-char wrap with width=0 is not larger than the width of the 2nd string The tests also generate random strings in LTR, RTL or both at the same time to spice the test up even more. It does that by picking random words out of hunspell directories, and if none are installed, it falls back to lorem ipsum.
Diffstat (limited to 'pango/pango-color-table.h')
0 files changed, 0 insertions, 0 deletions