Files
comaps/libs/storage/storage_tests/countries_tests.cpp
Konstantin Pastbin bfffa1fff4 Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-17 14:32:37 +07:00

15 lines
375 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)));
}