comparison OrthancFramework/UnitTestsSources/StreamTests.cpp @ 4204:318c16cfccab

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 16:18:01 +0200
parents bf7b9edf6b81
children b96aedfa8cc1
comparison
equal deleted inserted replaced
4203:4d42408da117 4204:318c16cfccab
108 TEST(Zlib, Basic) 108 TEST(Zlib, Basic)
109 { 109 {
110 std::string s = Toolbox::GenerateUuid(); 110 std::string s = Toolbox::GenerateUuid();
111 s = s + s + s + s; 111 s = s + s + s + s;
112 112
113 std::string compressed, compressed2; 113 std::string compressed;
114 ZlibCompressor c; 114 ZlibCompressor c;
115 ASSERT_TRUE(c.HasPrefixWithUncompressedSize()); 115 ASSERT_TRUE(c.HasPrefixWithUncompressedSize());
116 IBufferCompressor::Compress(compressed, c, s); 116 IBufferCompressor::Compress(compressed, c, s);
117 117
118 std::string uncompressed; 118 std::string uncompressed;