Refactor tst_QGeoPolygon::contains()


Directly use a QList<QGeoCoordinate> in data-driven tests instead of
passing each coordinate individually. This also allows to have test
cases that contain more than three coordinates.

As a drive-by: make the fetched variables const.

Pick-to: 6.11 6.10 6.8
Change-Id: I6a9d116dfe11791590b4ec8ff1137b45fd1474d7
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
commita336014cf93724d8662bd229102beeda9b2ca4a4
parentcdd6123890da756791f683b9bb3d24b4056dde07
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeFri, 20 Mar 2026 16:24:03 +0100