stuff-from-scratch/test/compression/TestStreamCompressor.cpp
2022-08-01 16:14:14 +01:00

14 lines
244 B
C++

#include <iostream>
#include "HuffmanEncoder.h"
int main()
{
std::string testData = "BCAADDDCCACACAC";
std::vector<unsigned char> stream(testData.begin(), testData.end());
HuffmanEncoder encoder;
encoder.encode(stream);
return 0;
}