Add missing tests for empty rects


Those led to divisions by zero before that was fixed in 78cbbc1.

Credit to OSS-Fuzz which found them as issue 23588.

Task-number: QTBUG-49160
Pick-to: 6.9 6.8 6.5
Change-Id: I63210104e5d9270f1037919f22a9ff1fa7c110c3
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit5366939f9146cac993eb37e6f3dfddca4f6f9dc8
parent0df81404d7c13dd2e1c8189a516f16580dbf7bc8
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeMon, 28 Apr 2025 09:06:13 +0200