diff options
author | Alexander Gololobov <davenger@yandex-team.com> | 2022-02-10 16:47:38 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:38 +0300 |
commit | fccc62e9bfdce9be2fe7e0f23479da3a5512211a (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /util/string/cast_ut.cpp | |
parent | 39608cdb86363c75ce55b2b9a69841c3b71f22cf (diff) | |
download | ydb-fccc62e9bfdce9be2fe7e0f23479da3a5512211a.tar.gz |
Restoring authorship annotation for Alexander Gololobov <davenger@yandex-team.com>. Commit 2 of 2.
Diffstat (limited to 'util/string/cast_ut.cpp')
-rw-r--r-- | util/string/cast_ut.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/string/cast_ut.cpp b/util/string/cast_ut.cpp index 7f54dcde32..033450c38c 100644 --- a/util/string/cast_ut.cpp +++ b/util/string/cast_ut.cpp @@ -163,7 +163,7 @@ Y_UNIT_TEST_SUITE(TCastTest) { f = FromString<TFloat>(str); UNIT_ASSERT_DOUBLES_EQUAL(f, canonValue, eps); } - + template <class TFloat> void BadFloatTester(const char* str) { const double eps = 10E-5; @@ -175,7 +175,7 @@ Y_UNIT_TEST_SUITE(TCastTest) { UNIT_ASSERT_EXCEPTION(f = FromString<TFloat>(str), TFromStringException); Y_UNUSED(f); // shut up compiler about 'assigned value that is not used' } - + Y_UNIT_TEST(TestToFrom) { test1(bool, true); test1(bool, false); @@ -315,7 +315,7 @@ Y_UNIT_TEST_SUITE(TCastTest) { BadFloatTester<long double>("10e 2"); BadFloatTester<long double>(""); // IGNIETFERRO-300 } - + Y_UNIT_TEST(TestLiteral) { UNIT_ASSERT_VALUES_EQUAL(ToString("abc"), TString("abc")); } |