Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix test
  • Loading branch information
nyalldawson committed Jul 7, 2018
1 parent 9445095 commit 38251cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgsspatialindexkdbush.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 38251cb

Please sign in to comment.