diff options
author | Kirill Zhdanovich <kzhdanovich@gmail.com> | 2013-08-22 20:26:34 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:59:57 +0300 |
commit | d8fcede10c11f23a84d8ec661e584697a99ebdb8 (patch) | |
tree | f292b1b69568d70cc41a63a34d43cff9f0db39ea /storage | |
parent | ec5134ad4e5d6876b4a761c1bbb723ef4e35b81f (diff) |
[core] country file name tests added
Diffstat (limited to 'storage')
-rw-r--r-- | storage/storage_tests/storage_tests.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/storage_tests/storage_tests.cpp b/storage/storage_tests/storage_tests.cpp index c073aea719..fbdc6ca64c 100644 --- a/storage/storage_tests/storage_tests.cpp +++ b/storage/storage_tests/storage_tests.cpp @@ -12,9 +12,11 @@ UNIT_TEST(StorageTest_Smoke) TIndex const i1 = st.FindIndexByFile("USA_Georgia"); TEST(i1.IsValid(), ()); + TEST_EQUAL(st.CountryFileName(i1), "USA_Georgia", ()); TIndex const i2 = st.FindIndexByFile("Georgia"); TEST(i2.IsValid(), ()); + TEST_EQUAL(st.CountryFileName(i2), "Georgia", ()); TEST_NOT_EQUAL(i1, i2, ()); } |