summaryrefslogtreecommitdiff
path: root/tests/testrandom.c
Commit message (Collapse)AuthorAgeFilesLines
* ci: Fix the test buildMatthias Clasen2022-07-281-0/+2
|
* Disable testrandomMatthias Clasen2022-07-021-0/+2
| | | | | This test is known to fail, and mesons xfail support is unfortunately broken.
* CosmeticsMatthias Clasen2021-11-161-1/+1
|
* Another small leak fixMatthias Clasen2021-11-161-0/+1
|
* Fix a small memleakMatthias Clasen2021-11-161-1/+3
| | | | | Our asan ci is unforgiving, and point out every memory leak.
* tests: Add spiced up wrapping testsBenjamin Otte2021-11-151-0/+318
* 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.