[core] country file name tests added

This commit is contained in:
Kirill Zhdanovich 2013-08-22 19:26:34 +03:00 committed by Alex Zolotarev
parent ec5134ad4e
commit d8fcede10c

View file

@ -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, ());
}