Skip to content
Permalink
Browse files
Fix test
  • Loading branch information
nyalldawson committed Jul 7, 2018
1 parent 9445095 commit 38251cbfc9154c7030b3d4c7dfab9c578410297f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -85,7 +85,7 @@ class TestQgsSpatialIndexKdBush : public QObject
for ( QgsFeature f : _pointFeatures() )
vl->dataProvider()->addFeature( f );
QgsSpatialIndexKDBush index( *vl->dataProvider() );
QCOMPARE( index.size(), 4 );
QVERIFY( index.size() == 4 );

QList<QgsSpatialIndexKDBushData> fids = index.intersect( QgsRectangle( 0, 0, 10, 10 ) );
QVERIFY( fids.count() == 1 );

0 comments on commit 38251cb

Please sign in to comment.