mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
15 lines
377 B
C++
15 lines
377 B
C++
#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)));
|
|
}
|