From d8fcede10c11f23a84d8ec661e584697a99ebdb8 Mon Sep 17 00:00:00 2001 From: Kirill Zhdanovich Date: Thu, 22 Aug 2013 19:26:34 +0300 Subject: [PATCH] [core] country file name tests added --- storage/storage_tests/storage_tests.cpp | 2 ++ 1 file changed, 2 insertions(+) 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, ()); }