From 116a2e8c27c89d8e3b285ad8598059bd423cc6ba Mon Sep 17 00:00:00 2001 From: vng Date: Wed, 10 Jul 2013 20:25:20 +0300 Subject: [PATCH] Fix measurement test if Units setting is not Metric. --- map/map_tests/measurement_tests.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/map/map_tests/measurement_tests.cpp b/map/map_tests/measurement_tests.cpp index e88e6507fd..8c2cf0db93 100644 --- a/map/map_tests/measurement_tests.cpp +++ b/map/map_tests/measurement_tests.cpp @@ -2,11 +2,15 @@ #include "../measurement_utils.hpp" +#include "../../platform/settings.hpp" + using namespace MeasurementUtils; UNIT_TEST(Measurement_Smoke) { + Settings::Set("Units", Settings::Metric); + typedef pair PairT; PairT arr[] = {