aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson_pull/ut/writer_ut.cpp
diff options
context:
space:
mode:
authorsinister <sinister@yandex-team.ru>2022-02-10 16:50:50 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:50 +0300
commitb76c7a19e20d232ef1e00ccbe68f64a3024d29ed (patch)
treef8eeda3ddf7f474d0defce552e5eb141e5943509 /library/cpp/yson_pull/ut/writer_ut.cpp
parentfd57eb4948385b403f53b2f711399e516d46dcac (diff)
downloadydb-b76c7a19e20d232ef1e00ccbe68f64a3024d29ed.tar.gz
Restoring authorship annotation for <sinister@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yson_pull/ut/writer_ut.cpp')
-rw-r--r--library/cpp/yson_pull/ut/writer_ut.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/yson_pull/ut/writer_ut.cpp b/library/cpp/yson_pull/ut/writer_ut.cpp
index 5c304bad0f..4a052e5274 100644
--- a/library/cpp/yson_pull/ut/writer_ut.cpp
+++ b/library/cpp/yson_pull/ut/writer_ut.cpp
@@ -123,14 +123,14 @@ Y_UNIT_TEST_SUITE(Writer) {
Y_UNIT_TEST(TextFloat64) {
UNIT_ASSERT_VALUES_EQUAL(
- "%inf",
+ "%inf",
to_yson_text_string(NYsonPull::TScalar{std::numeric_limits<double>::infinity()}));
UNIT_ASSERT_VALUES_EQUAL(
- "%-inf",
+ "%-inf",
to_yson_text_string(NYsonPull::TScalar{-std::numeric_limits<double>::infinity()}));
- UNIT_ASSERT_VALUES_EQUAL(
- "%nan",
- to_yson_text_string(NYsonPull::TScalar{std::numeric_limits<double>::quiet_NaN()}));
+ UNIT_ASSERT_VALUES_EQUAL(
+ "%nan",
+ to_yson_text_string(NYsonPull::TScalar{std::numeric_limits<double>::quiet_NaN()}));
}
Y_UNIT_TEST(TextString) {
@@ -230,15 +230,15 @@ Y_UNIT_TEST_SUITE(Writer) {
UNIT_ASSERT_VALUES_EQUAL(
TStringBuf("\x03\x00\x00\x00\x00\x00\x00\xf0\xff"sv),
to_yson_binary_string(NYsonPull::TScalar{-std::numeric_limits<double>::infinity()}));
- UNIT_ASSERT_VALUES_EQUAL(
+ UNIT_ASSERT_VALUES_EQUAL(
TStringBuf("\x03\x00\x00\x00\x00\x00\x00\xf8\x7f"sv),
- to_yson_binary_string(NYsonPull::TScalar{std::numeric_limits<double>::quiet_NaN()}));
- UNIT_ASSERT_VALUES_EQUAL(
+ to_yson_binary_string(NYsonPull::TScalar{std::numeric_limits<double>::quiet_NaN()}));
+ UNIT_ASSERT_VALUES_EQUAL(
TStringBuf("\x03\x9a\x99\x99\x99\x99\x99\xf1\x3f"),
- to_yson_binary_string(NYsonPull::TScalar{double{1.1}}));
- UNIT_ASSERT_VALUES_EQUAL(
+ to_yson_binary_string(NYsonPull::TScalar{double{1.1}}));
+ UNIT_ASSERT_VALUES_EQUAL(
TStringBuf("\x03\x9a\x99\x99\x99\x99\x99\xf1\xbf"),
- to_yson_binary_string(NYsonPull::TScalar{double{-1.1}}));
+ to_yson_binary_string(NYsonPull::TScalar{double{-1.1}}));
}
Y_UNIT_TEST(BinaryString) {