Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
14
libs/storage/storage_tests/countries_tests.cpp
Normal file
14
libs/storage/storage_tests/countries_tests.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#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)));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue