/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
base/base_tests/string_format_test.cpp
11 строк
339 B
Sergey Yershov
Fix include path for base_tests
23 сен 2015, 02:45
23 сен 2015, 02:45
d579107
Код
Авторство
О чём код?
#include "testing/testing.hpp" #include "base/string_format.hpp" UNIT_TEST(StringFormat_Smoke) { TEST_EQUAL(strings::Format("this is ^ ^ ^ ^", "a", "very", "simple", "test"), "this is a very simple test", ()); TEST_EQUAL(strings::Format("this", "a"), "this", ()); TEST_EQUAL(strings::Format("this ^ ^", "is"), "this is ^", ()); }