forked from organicmaps/organicmaps
[search][tests] Fix unstable test: mwm should intersect viewport for MatchAroundPivot.
This commit is contained in:
parent
545bad15ad
commit
cf1c8370f1
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ UNIT_CLASS_TEST(RankerTest, PreferCountry)
|
|||
builder.Add(cafe);
|
||||
});
|
||||
|
||||
SetViewport(m2::RectD(m2::PointD(-1.0, -1.0), m2::PointD(0.0, 0.0)));
|
||||
SetViewport(m2::RectD(m2::PointD(0.0, 0.0), m2::PointD(1.0, 1.0)));
|
||||
{
|
||||
// Country which exactly matches the query should be preferred even if cafe is much closer to
|
||||
// viewport center.
|
||||
|
|
Loading…
Add table
Reference in a new issue