mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Fix bad assert in TestQgsRectangle
This commit is contained in:
parent
6bfde52dd6
commit
930b4850e0
@ -155,8 +155,7 @@ class TestQgsRectangle(TestCase):
|
|||||||
assert rect1.contains(rect2), myMessage
|
assert rect1.contains(rect2), myMessage
|
||||||
|
|
||||||
print rect1.toString()
|
print rect1.toString()
|
||||||
assert (rect1 == QgsRectangle(0.0, 0.0, 7.0, 7.0),
|
assert rect1 == QgsRectangle(0.0, 0.0, 7.0, 7.0), 'Wrong combine with rectangle result'
|
||||||
'Wrong combine with rectangle result')
|
|
||||||
|
|
||||||
rect1 = QgsRectangle(0.0, 0.0, 5.0, 5.0)
|
rect1 = QgsRectangle(0.0, 0.0, 5.0, 5.0)
|
||||||
rect1.combineExtentWith(6.0, 2.0)
|
rect1.combineExtentWith(6.0, 2.0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user