summaryrefslogtreecommitdiff
path: root/Tests/LibCompress/TestDeflate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibCompress/TestDeflate.cpp')
-rw-r--r--Tests/LibCompress/TestDeflate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/LibCompress/TestDeflate.cpp b/Tests/LibCompress/TestDeflate.cpp
index 56fd34b733..bdeeabd9b0 100644
--- a/Tests/LibCompress/TestDeflate.cpp
+++ b/Tests/LibCompress/TestDeflate.cpp
@@ -7,9 +7,9 @@
#include <LibTest/TestCase.h>
#include <AK/Array.h>
+#include <AK/BitStream.h>
#include <AK/Random.h>
#include <LibCompress/Deflate.h>
-#include <LibCore/BitStream.h>
#include <LibCore/MemoryStream.h>
#include <cstring>
@@ -29,7 +29,7 @@ TEST_CASE(canonical_code_simple)
auto const huffman = Compress::CanonicalCode::from_bytes(code).value();
auto memory_stream = MUST(Core::Stream::FixedMemoryStream::construct(input));
- auto bit_stream = MUST(Core::Stream::LittleEndianInputBitStream::construct(move(memory_stream)));
+ auto bit_stream = MUST(LittleEndianInputBitStream::construct(move(memory_stream)));
for (size_t idx = 0; idx < 9; ++idx)
EXPECT_EQ(MUST(huffman.read_symbol(*bit_stream)), output[idx]);
@@ -49,7 +49,7 @@ TEST_CASE(canonical_code_complex)
auto const huffman = Compress::CanonicalCode::from_bytes(code).value();
auto memory_stream = MUST(Core::Stream::FixedMemoryStream::construct(input));
- auto bit_stream = MUST(Core::Stream::LittleEndianInputBitStream::construct(move(memory_stream)));
+ auto bit_stream = MUST(LittleEndianInputBitStream::construct(move(memory_stream)));
for (size_t idx = 0; idx < 12; ++idx)
EXPECT_EQ(MUST(huffman.read_symbol(*bit_stream)), output[idx]);