forked from organicmaps/organicmaps
Fixed scale tests according to scales::INITIAL_LEVEL.
This commit is contained in:
parent
1f5b3c035b
commit
a3485748da
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ using namespace scales;
|
|||
|
||||
UNIT_TEST(ScaleLevel_Smoke)
|
||||
{
|
||||
for (int level = 0; level < GetUpperScale(); ++level)
|
||||
for (int level = 1; level < GetUpperScale(); ++level)
|
||||
{
|
||||
double const d = GetRationForLevel(level);
|
||||
int test = GetScaleLevel(d);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
|
||||
/// Note! Default tile size value should be equal with
|
||||
/// the default value in RenderPolicy::TileSisze().
|
||||
/// the default value in RenderPolicy::TileSize().
|
||||
ScalesProcessor::ScalesProcessor()
|
||||
: m_tileSize(256), m_visualScale(1.0)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue