Commit d052bdae authored by Victor Zverovich's avatar Victor Zverovich

Simplify the WriteDoubleAtBufferBoundary test.

parent b6f38390
...@@ -302,11 +302,8 @@ TEST(WriterTest, WriteDouble) { ...@@ -302,11 +302,8 @@ TEST(WriterTest, WriteDouble) {
TEST(WriterTest, WriteDoubleAtBufferBoundary) { TEST(WriterTest, WriteDoubleAtBufferBoundary) {
fmt::Writer writer; fmt::Writer writer;
int i = 0; for (int i = 0; i < 100; ++i)
while (i++ < 130) { writer << 1.23456789;
std::cout << i << std::endl;
writer << 1.01;
}
} }
TEST(WriterTest, WriteChar) { TEST(WriterTest, WriteChar) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment