co-maps/libs/storage/storage_tests/countries_tests.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
375 B
C++
Raw Permalink Normal View History

2025-11-22 13:58:55 +01:00
#include "testing/testing.hpp"
#include "platform/platform.hpp"
#include "coding/sha1.hpp"
#include "base/logging.hpp"
UNIT_TEST(CalculateWorldSHA)
{
auto const path = GetPlatform().ResourcesDir();
for (char const * country : {WORLD_FILE_NAME, WORLD_COASTS_FILE_NAME})
LOG(LINFO, (country, coding::SHA1::CalculateBase64(path + country + DATA_FILE_EXTENSION)));
}